![](/media/cache/profiles/6781be9b5eb16b142d24c60a04c821e2.jpg.50x50_q85.jpg)
test code
Fork of GPS_U-blox_NEO-6M_Test_Code by
main.h@0:ea14ad6794af, 2014-04-12 (annotated)
- Committer:
- edodm85
- Date:
- Sat Apr 12 11:53:35 2014 +0000
- Revision:
- 0:ea14ad6794af
- Child:
- 1:acd907fbcbae
First Version
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
edodm85 | 0:ea14ad6794af | 1 | #pragma once |
edodm85 | 0:ea14ad6794af | 2 | #include "mbed.h" |
edodm85 | 0:ea14ad6794af | 3 | #include "MODSERIAL.h" |
edodm85 | 0:ea14ad6794af | 4 | |
edodm85 | 0:ea14ad6794af | 5 | MODSERIAL pc(USBTX,USBRX); |
edodm85 | 0:ea14ad6794af | 6 | MODSERIAL gps(p13,p14); |
edodm85 | 0:ea14ad6794af | 7 | |
edodm85 | 0:ea14ad6794af | 8 | DigitalOut led1(LED1); |
edodm85 | 0:ea14ad6794af | 9 | DigitalOut led2(LED2); |
edodm85 | 0:ea14ad6794af | 10 | DigitalOut led3(LED3); |
edodm85 | 0:ea14ad6794af | 11 | DigitalOut led4(LED4); |
edodm85 | 0:ea14ad6794af | 12 | |
edodm85 | 0:ea14ad6794af | 13 | |
edodm85 | 0:ea14ad6794af | 14 | |
edodm85 | 0:ea14ad6794af | 15 | char cDataBuffer[500]; |
edodm85 | 0:ea14ad6794af | 16 | int i = 0; |
edodm85 | 0:ea14ad6794af | 17 | |
edodm85 | 0:ea14ad6794af | 18 | |
edodm85 | 0:ea14ad6794af | 19 | void Init(); |
edodm85 | 0:ea14ad6794af | 20 | void parse(char *cmd, int n); |