Jurica Resetar
/
acd52832_blinky
acd52832 blinky example
main.cpp@4:de5cf6b1e96b, 2018-05-13 (annotated)
- Committer:
- jurica238814
- Date:
- Sun May 13 20:03:40 2018 +0000
- Branch:
- TestBranch
- Revision:
- 4:de5cf6b1e96b
- Parent:
- 2:84d964276266
- Child:
- 5:9ca5e2a69411
Clean blinky example.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jurica238814 | 4:de5cf6b1e96b | 1 | /* Copyright (c) 2018 Aconno. All Rights Reserved. |
jurica238814 | 0:796985b808bc | 2 | * |
jurica238814 | 0:796985b808bc | 3 | * Licensees are granted free, non-transferable use of the information. NO |
jurica238814 | 0:796985b808bc | 4 | * WARRANTY of ANY KIND is provided. This heading must NOT be removed from |
jurica238814 | 0:796985b808bc | 5 | * the file. |
jurica238814 | 0:796985b808bc | 6 | * |
jurica238814 | 0:796985b808bc | 7 | */ |
jurica238814 | 0:796985b808bc | 8 | |
jurica238814 | 0:796985b808bc | 9 | #include "mbed.h" |
jurica238814 | 0:796985b808bc | 10 | |
jurica238814 | 4:de5cf6b1e96b | 11 | DigitalOut led(p23); |
jurica238814 | 0:796985b808bc | 12 | |
jurica238814 | 0:796985b808bc | 13 | int main(){ |
jurica238814 | 4:de5cf6b1e96b | 14 | led = !led; |
jurica238814 | 4:de5cf6b1e96b | 15 | wait_ms(250); |
jurica238814 | 0:796985b808bc | 16 | } |