virgini García Antolín
/
Example_Puck_BLE
EXAMPLE_LED1
Revision 2:fd3993499377, committed 2015-04-14
- Comitter:
- vikunga
- Date:
- Tue Apr 14 11:37:26 2015 +0000
- Parent:
- 1:90fef298002f
- Commit message:
- example_LED1
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 90fef298002f -r fd3993499377 main.cpp --- a/main.cpp Tue Apr 14 10:07:22 2015 +0000 +++ b/main.cpp Tue Apr 14 11:37:26 2015 +0000 @@ -17,5 +17,12 @@ //#define LOG_LEVEL_INFO DigitalOut myled(LED1); int main(){ +while(1){ myled=1; + wait(0.2); + myled=0; + wait(0.2); + } + } +