Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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];