C027_C20_U20_G35 revB with SARA-G350 GPS library.
Dependencies: GPS_C027_C20_U20_G35_revB_SARA_G350 mbed
Fork of C027_HelloWorld by
Diff: main.cpp
- Revision:
- 4:1fecbc981273
- Parent:
- 2:4e0e24635b97
- Child:
- 5:41b123533b79
diff -r ec11f1417df7 -r 1fecbc981273 main.cpp --- a/main.cpp Fri Oct 25 22:15:15 2013 +0000 +++ b/main.cpp Wed Nov 06 10:49:16 2013 +0000 @@ -1,14 +1,11 @@ #include "mbed.h" #include "C027.h" -DigitalOut myled(A0); -// connect a LED between A0 and a GND pin to see the blinking +DigitalOut myled(LED); // on rev A you should reasign the signal to A0 int main() { while(1) { - myled = 1; - wait(0.2); - myled = 0; + myled = !myled; wait(0.2); } }