kopia lustrzana https://github.com/jgromes/RadioLib
Updated Debug mode (markdown)
rodzic
71142b6b3c
commit
31d0662e10
|
@ -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.
|
||||
|
|
Ładowanie…
Reference in New Issue