Debug
#define BLYNK_PRINT
#define BLYNK_DEBUG
To enable debug prints on the default Serial port add on the top of your sketch IMPORTANT: This should be the first line in your code:
Then enable Serial Output in setup():
Open Serial Monitor and you'll see the debug prints.
You can also use spare Hardware serial ports or SoftwareSerial for debug output (you will need an adapter to connect to it with your PC).
WARNING: Enabling BLYNK_DEBUG
will slowdown your hardware processing speed up to 10 times!
BLYNK_LOG()
When BLYNK_PRINT
is defined, you can use BLYNK_LOG
to print your logs. The usage is similar to printf
:
On some platforms (like Arduino 101) the BLYNK_LOG
may be unavailable, or may just use too much resources.
In this case you can use a set of simpler log functions:
Last updated