Debug Serial para programa resetar o buffer quando houver tamanhos errados na mensagem
Dependencies: pulga-lorawan-drv PingPong-P2P-ClickButtonToWork-SX1272
Diff: serial.h
- Revision:
- 10:f6ff8ec221ec
- Parent:
- 7:37dc9ce68914
--- a/serial.h Wed Mar 31 13:04:22 2021 +0000 +++ b/serial.h Mon Apr 12 19:51:51 2021 +0000 @@ -3,9 +3,11 @@ #include "mbed.h" #include "lora.h" +#include "gps.h" #define CMD_SEND_HELLO 'h' #define CMD_SEND_LORA_P2P 'p' +#define CMD_PRINT_GPS 'g' extern RawSerial pc; extern void SerialRx(void);