![](/media/cache/profiles/6781be9b5eb16b142d24c60a04c821e2.jpg.50x50_q85.jpg)
test code
Fork of GPS_U-blox_NEO-6M_Test_Code by
Diff: main.h
- Revision:
- 1:acd907fbcbae
- Parent:
- 0:ea14ad6794af
--- a/main.h Sat Apr 12 11:53:35 2014 +0000 +++ b/main.h Fri Aug 22 12:43:55 2014 +0000 @@ -3,13 +3,12 @@ #include "MODSERIAL.h" MODSERIAL pc(USBTX,USBRX); -MODSERIAL gps(p13,p14); -DigitalOut led1(LED1); -DigitalOut led2(LED2); -DigitalOut led3(LED3); -DigitalOut led4(LED4); - +#if defined(TARGET_LPC1768) +MODSERIAL gps(p13, p14); +#elif defined(TARGET_LPC4330_M4) +MODSERIAL gps(UART0_TX, UART0_RX); +#endif char cDataBuffer[500];