gpio example for the Freescale freedom platform

Dependencies:   mbed

Fork of frdm_gpio by Freescale

Revision:
1:4f62fc36c30d
Parent:
0:0024ab6b9624
Child:
2:f37d74a0e3e2
--- a/main.cpp	Fri Oct 12 12:41:36 2012 +0000
+++ b/main.cpp	Tue Oct 23 09:27:00 2012 +0000
@@ -1,16 +1,15 @@
 #include "mbed.h"
 
-int main()
-{
+int main() {
     DigitalOut gpo(PTB8);
     DigitalOut led(LED_RED);
 
     while(1) {
         gpo = 1;
-        led=1; // Off
+        led = 1; // Off
         wait(2);
         gpo = 0;
-        led=0; // on
+        led = 0; // on
         wait(2);
     }
 }
\ No newline at end of file