C027 Example: blinking LED

Dependencies:   mbed

Fork of C027_HelloWorld by u-blox

Revision:
5:41b123533b79
Parent:
4:1fecbc981273
Child:
6:7fe1cbb784a4
--- a/main.cpp	Wed Nov 06 10:49:16 2013 +0000
+++ b/main.cpp	Fri Dec 06 09:58:29 2013 +0000
@@ -1,7 +1,13 @@
 #include "mbed.h"
 #include "C027.h"
 
-DigitalOut myled(LED); // on rev A you should reasign the signal to A0
+#ifdef C027_REVA
+ // on rev A we reasign the signal to A0
+ #undef  LED
+ #define LED A0
+#endif
+
+DigitalOut myled(LED); 
 
 int main() {
     while(1) {