-
Notifications
You must be signed in to change notification settings - Fork 6
Debugging
Eugeny Shlyagin edited this page Jan 17, 2024
·
7 revisions
You can enable DEBUG MODE if you need.
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)
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
AGLoRa - tiny open source Arduino+GPS+LORA tracker
Arduino IDE sketch: https://github.com/Udj13/AGLoRa/blob/main/AGLoRa-tracker.ino
Full PlatformIO project: https://github.com/Udj13/AGLoRa-full
iOs (iPhone + iPad) and Android client: https://github.com/Udj13/AGLoRa-client-flutter