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.
Dependencies: mbed X_NUCLEO_IKS01A2
Diff: main.h
- Revision:
- 19:00a099052986
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.h Wed Nov 03 12:18:19 2021 +0000 @@ -0,0 +1,18 @@ +#pragma once +#include "mbed.h" +#include "MODSERIAL.h" + +//MODSERIAL pc(USBTX,USBRX); + +#if defined(TARGET_LPC1768) +MODSERIAL gps(D8, D2); //tx rx +#elif defined(TARGET_LPC4330_M4) +MODSERIAL gps(UART0_TX, UART0_RX); +#endif + +char cDataBuffer[500]; +int i = 0; + + +void Init(); +void parse(char *cmd, int n);