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
main.h@19:00a099052986, 2021-11-03 (annotated)
- Committer:
- berajay
- Date:
- Wed Nov 03 12:18:19 2021 +0000
- Revision:
- 19:00a099052986
SDfilesystemDMA;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
berajay | 19:00a099052986 | 1 | #pragma once |
berajay | 19:00a099052986 | 2 | #include "mbed.h" |
berajay | 19:00a099052986 | 3 | #include "MODSERIAL.h" |
berajay | 19:00a099052986 | 4 | |
berajay | 19:00a099052986 | 5 | //MODSERIAL pc(USBTX,USBRX); |
berajay | 19:00a099052986 | 6 | |
berajay | 19:00a099052986 | 7 | #if defined(TARGET_LPC1768) |
berajay | 19:00a099052986 | 8 | MODSERIAL gps(D8, D2); //tx rx |
berajay | 19:00a099052986 | 9 | #elif defined(TARGET_LPC4330_M4) |
berajay | 19:00a099052986 | 10 | MODSERIAL gps(UART0_TX, UART0_RX); |
berajay | 19:00a099052986 | 11 | #endif |
berajay | 19:00a099052986 | 12 | |
berajay | 19:00a099052986 | 13 | char cDataBuffer[500]; |
berajay | 19:00a099052986 | 14 | int i = 0; |
berajay | 19:00a099052986 | 15 | |
berajay | 19:00a099052986 | 16 | |
berajay | 19:00a099052986 | 17 | void Init(); |
berajay | 19:00a099052986 | 18 | void parse(char *cmd, int n); |