Updated Debug mode (markdown)

master
Jan Gromeš 2024-01-16 14:23:59 +01:00
rodzic 71142b6b3c
commit 31d0662e10
1 zmienionych plików z 2 dodań i 2 usunięć

@ -5,8 +5,8 @@ When something isn't working as expected, it might be useful to take a peek "und
To enable debug, you can go to the [BuildOptUser.h](https://github.com/jgromes/RadioLib/blob/master/src/BuildOptUser.h) file, and uncomment either one or both of these lines:
```c++
//#define RADIOLIB_DEBUG
//#define RADIOLIB_VERBOSE
//#define RADIOLIB_DEBUG (1)
//#define RADIOLIB_VERBOSE (1)
```
The default debug port is set to `Serial`, on most Arduino boards, this should correspond to the Serial port connected to USB. If you want to use a different port, simply change the value of `RADIOLIB_DEBUG_PORT` macro to e.g. `Serial2`, or whichever Serial port you want to use. `SoftwareSerial` ports are supported as well.