gpio example for the Freescale freedom platform

Dependencies:   mbed

Fork of frdm_gpio by Freescale

Files at this revision

API Documentation at this revision

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);