V1
Dependencies: mbed 25LCxxx_SPI MCP23S17
Revision 0:a9e3bce19b5d, committed 2021-01-16
- Comitter:
- gr66
- Date:
- Sat Jan 16 16:17:05 2021 +0000
- Child:
- 1:ab2526b30b34
- Commit message:
- xx;
Changed in this revision
main.c | Show annotated file Show diff for this revision Revisions of this file |
mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.c Sat Jan 16 16:17:05 2021 +0000 @@ -0,0 +1,20 @@ +#include "mbed.h" + + +Serial pc(PA_2, PA_3); // I/O terminal PC +DigitalOut led(PA_15); // led +Ticker automate; +// +void autom(void) +{ + led=!led; +} +int main() +{ + automate.attach(&autom,1.0); + while(1); + + + + +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Sat Jan 16 16:17:05 2021 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400 \ No newline at end of file