gpio example for the Freescale freedom platform
Dependencies: mbed
Fork of frdm_gpio by
Diff: main.cpp
- Revision:
- 2:f37d74a0e3e2
- Parent:
- 1:4f62fc36c30d
- Child:
- 5:a03b579ee48d
--- 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);