Chumbaka
Dependencies: Servo mbed Chumbaka_backup
Fork of Servo_HelloWorld by
Revision 6:1141e5682610, committed 2014-04-17
- Comitter:
- limcheecheng
- Date:
- Thu Apr 17 06:24:25 2014 +0000
- Parent:
- 5:805d37469e22
- Child:
- 7:5a56972596b9
- Commit message:
- update
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Apr 17 06:20:22 2014 +0000 +++ b/main.cpp Thu Apr 17 06:24:25 2014 +0000 @@ -2,8 +2,10 @@ DigitalOut myled(LED2); -int main() { - while(1) { +int main() +{ + while(1) + { myled = 1; wait(0.2); myled = 0;