Troubleshooting PubNub Arduino SDK

Currently there is only one troubleshooting feature in Pubnub Arduino SDK - logging.

How to enable logging

By default, (debug) logging is off. Logging is turned on by defining PUBNUB_DEBUG preprocessor symbol. It will produce debug log (plain text) reports using the standard Serial object. Of course, you need to initialize the Serial object and make sure it works on your Arduino board.

Last updated on