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: pulga-lorawan-drv PingPong-P2P-ClickButtonToWork-SX1272
Diff: serial.h
- Revision:
- 7:37dc9ce68914
- Child:
- 10:f6ff8ec221ec
diff -r c305f2aa79a4 -r 37dc9ce68914 serial.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/serial.h Fri Mar 19 20:26:32 2021 +0000 @@ -0,0 +1,19 @@ +#ifndef _SERIAL_H_ +#define _SERIAL_H_ + +#include "mbed.h" +#include "lora.h" + +#define CMD_SEND_HELLO 'h' +#define CMD_SEND_LORA_P2P 'p' +extern RawSerial pc; + +extern void SerialRx(void); + +extern bool SerialCommandRun(const char *msg); + +extern void serial_post_to_queue(void); + +extern void PrintDebugMsg(char *msg); + +#endif