this is simple digital in for ublox c027

Dependencies:   mbed

Fork of DigitalIn_HelloWorld_Mbed by mbed official

Revision:
0:aaf5a9d465fd
Child:
3:e2f865861a7a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Wed Feb 13 16:09:04 2013 +0000
@@ -0,0 +1,13 @@
+#include "mbed.h"
+ 
+DigitalIn enable(p5);
+DigitalOut led(LED1);
+ 
+int main() {
+    while(1) {
+        if(enable) {
+            led = !led;
+        }
+        wait(0.25);
+    }
+}
\ No newline at end of file