FTKL USER
/
mbed_blinky_FTKL
Show how to publish and include in Wiki page
main.cpp@0:6cadaef91349, 2019-11-17 (annotated)
- Committer:
- ftkl_user
- Date:
- Sun Nov 17 15:45:22 2019 +0000
- Revision:
- 0:6cadaef91349
start here
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ftkl_user | 0:6cadaef91349 | 1 | #include "mbed.h" |
ftkl_user | 0:6cadaef91349 | 2 | |
ftkl_user | 0:6cadaef91349 | 3 | DigitalOut myled(LED1); |
ftkl_user | 0:6cadaef91349 | 4 | |
ftkl_user | 0:6cadaef91349 | 5 | int main() { |
ftkl_user | 0:6cadaef91349 | 6 | while(1) { |
ftkl_user | 0:6cadaef91349 | 7 | myled = 1; |
ftkl_user | 0:6cadaef91349 | 8 | wait(0.2); |
ftkl_user | 0:6cadaef91349 | 9 | myled = 0; |
ftkl_user | 0:6cadaef91349 | 10 | wait(0.2); |
ftkl_user | 0:6cadaef91349 | 11 | } |
ftkl_user | 0:6cadaef91349 | 12 | } |