contain lorawan with serial_rx enabled
Dependencies: pulga-lorawan-drv SPI_MX25R Si1133 BME280
serial_cmds.cpp
- Committer:
- ruschigo
- Date:
- 2021-02-26
- Revision:
- 62:89df9529dbb0
- Child:
- 63:4ec1808fb547
File content as of revision 62:89df9529dbb0:
#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) pc.printf("<g%d,%d\n>", local_lat, local_log); break; default: break; } return true; }