Serial

The Arduino Serial functionality can be used for both debugging and sending data to and from the device via other communication channels such as BlueTooth.

Debugging

Start the serial channel in the Setup method with:

In the loop you can use the following to print out a single value.

Multiple variables are a bit more complicated but it can be achieved with:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.