All project
Dependencies: MMA8452 MODSERIAL mbed-rtos mbed
Fork of GPS_U-blox_NEO-6M_Test_Code by
main.h@2:a01fc505b443, 2016-06-27 (annotated)
- Committer:
- yanay_amir
- Date:
- Mon Jun 27 19:23:10 2016 +0000
- Revision:
- 2:a01fc505b443
- Parent:
- 1:acd907fbcbae
AA;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
edodm85 | 0:ea14ad6794af | 1 | #pragma once |
yanay_amir | 2:a01fc505b443 | 2 | |
edodm85 | 0:ea14ad6794af | 3 | #include "MODSERIAL.h" |
edodm85 | 0:ea14ad6794af | 4 | |
yanay_amir | 2:a01fc505b443 | 5 | |
edodm85 | 0:ea14ad6794af | 6 | |
edodm85 | 1:acd907fbcbae | 7 | #if defined(TARGET_LPC1768) |
edodm85 | 1:acd907fbcbae | 8 | MODSERIAL gps(p13, p14); |
edodm85 | 1:acd907fbcbae | 9 | #elif defined(TARGET_LPC4330_M4) |
edodm85 | 1:acd907fbcbae | 10 | MODSERIAL gps(UART0_TX, UART0_RX); |
edodm85 | 1:acd907fbcbae | 11 | #endif |
edodm85 | 0:ea14ad6794af | 12 | |
edodm85 | 0:ea14ad6794af | 13 | |
edodm85 | 0:ea14ad6794af | 14 | char cDataBuffer[500]; |
edodm85 | 0:ea14ad6794af | 15 | int i = 0; |
edodm85 | 0:ea14ad6794af | 16 | |
edodm85 | 0:ea14ad6794af | 17 | |
edodm85 | 0:ea14ad6794af | 18 | void Init(); |
edodm85 | 0:ea14ad6794af | 19 | void parse(char *cmd, int n); |