Skip to content

Debugging

Eugeny Shlyagin edited this page Jan 17, 2024 · 7 revisions

You can enable DEBUG MODE if you need.

Enable debug mode

Find and set #define DEBUG_MODE true, then rebuild and upload sketch. Don't forget to unplug the BLE before connecting the Arduino to the computer.

After uploading open "Serial Monitor" in Arduino IDE (menu Tools - Serial Monitor)

Selecting debug levels

Additionally you can select visible of modules in debug output:

#define DEBUG_BLE true  // bluetooth low energy
#define DEBUG_GPS true  // print GPS logs
#define DEBUG_LORA true  // print GPS logs
#define DEBUG_MEMORY true  // print GPS logs
#define DEBUG_AGLORA true  // print GPS logs
Снимок экрана 2024-01-17 в 13 48 48
Clone this wiki locally