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@1:b2f5ffeed00b, 2013-10-18 (annotated)
- Committer:
- mazgch
- Date:
- Fri Oct 18 18:06:05 2013 +0000
- Revision:
- 1:b2f5ffeed00b
- Parent:
- 0:7626456dca2c
- Child:
- 2:4e0e24635b97
publish as u-blox official
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mazgch | 0:7626456dca2c | 1 | #include "mbed.h" |
mazgch | 0:7626456dca2c | 2 | #include "C027_PinNames.h" |
mazgch | 0:7626456dca2c | 3 | |
mazgch | 0:7626456dca2c | 4 | DigitalOut myled(A0); |
mazgch | 1:b2f5ffeed00b | 5 | // connect a LED between A0 and a GND pin to see the blinking |
mazgch | 0:7626456dca2c | 6 | |
mazgch | 0:7626456dca2c | 7 | int main() { |
mazgch | 0:7626456dca2c | 8 | while(1) { |
mazgch | 0:7626456dca2c | 9 | myled = 1; |
mazgch | 0:7626456dca2c | 10 | wait(0.2); |
mazgch | 0:7626456dca2c | 11 | myled = 0; |
mazgch | 0:7626456dca2c | 12 | wait(0.2); |
mazgch | 0:7626456dca2c | 13 | } |
mazgch | 0:7626456dca2c | 14 | } |