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
main.cpp@5:41b123533b79, 2013-12-06 (annotated)
- Committer:
- mazgch
- Date:
- Fri Dec 06 09:58:29 2013 +0000
- Revision:
- 5:41b123533b79
- Parent:
- 4:1fecbc981273
- Child:
- 6:7f0ed1d69dc1
pull in latest library
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mazgch | 0:7626456dca2c | 1 | #include "mbed.h" |
mazgch | 2:4e0e24635b97 | 2 | #include "C027.h" |
mazgch | 0:7626456dca2c | 3 | |
mazgch | 5:41b123533b79 | 4 | #ifdef C027_REVA |
mazgch | 5:41b123533b79 | 5 | // on rev A we reasign the signal to A0 |
mazgch | 5:41b123533b79 | 6 | #undef LED |
mazgch | 5:41b123533b79 | 7 | #define LED A0 |
mazgch | 5:41b123533b79 | 8 | #endif |
mazgch | 5:41b123533b79 | 9 | |
mazgch | 5:41b123533b79 | 10 | DigitalOut myled(LED); |
mazgch | 0:7626456dca2c | 11 | |
mazgch | 0:7626456dca2c | 12 | int main() { |
mazgch | 0:7626456dca2c | 13 | while(1) { |
mazgch | 4:1fecbc981273 | 14 | myled = !myled; |
mazgch | 0:7626456dca2c | 15 | wait(0.2); |
mazgch | 0:7626456dca2c | 16 | } |
mazgch | 0:7626456dca2c | 17 | } |