contain lorawan with serial_rx enabled
Dependencies: pulga-lorawan-drv SPI_MX25R Si1133 BME280
serial_cmds.cpp
- Committer:
- ruschigo
- Date:
- 2021-02-26
- Revision:
- 63:4ec1808fb547
- Parent:
- 62:89df9529dbb0
- Child:
- 64:ed68ddac6360
File content as of revision 63:4ec1808fb547:
#include "serial.h" bool SerialCommandRun(const char *msg) { char Option = msg[1]; /// recebo opcao switch (Option) { case CMD_PRINT_LAST_GPS: int local_lat, local_log; //gps_get_lat_lon(&local_lat, &local_log); //get_latitude pc.printf("<g%d,%d\n>", get_latitude(), get_longitude()); break; default: break; } return true; }