gpio example for the Freescale freedom platform
Dependencies: mbed
Fork of frdm_gpio by
Revision 2:f37d74a0e3e2, committed 2012-10-24
- Comitter:
- emilmont
- Date:
- Wed Oct 24 13:02:53 2012 +0000
- Parent:
- 1:4f62fc36c30d
- Child:
- 3:27c137ffa2d8
- Commit message:
- update mbed library
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Oct 23 09:27:00 2012 +0000 +++ b/main.cpp Wed Oct 24 13:02:53 2012 +0000 @@ -4,7 +4,7 @@ DigitalOut gpo(PTB8); DigitalOut led(LED_RED); - while(1) { + while (true) { gpo = 1; led = 1; // Off wait(2);