This sketch needs to include at least one numerical variable, such as an int or float.īelow you will find two sketches, one using a potentiometer and analogRead ( ) function, the other using the random ( ) function. To use the Serial Plotter, we will need to create a sketch and upload it to our board. Create a simple sketch and test it out. ![]() For other guides on how to use the editor, visit the IDE 2 docs. If you need help to download and install the Arduino IDE 2, you can visit the IDE 2 downloading and installing guide. In this tutorial, we will take a quick look on how to enable this feature (works for practically any sketch that uses serial communication), how a sample sketch looks like, and how it is expected to work. ![]() It functions similarly to your standard Serial Monitor tool which is used to print data "terminal style", but is a greater visual tool that will help you understand and compare your data better. The Serial Plotter tool is a versatile tool for tracking different data that is sent from your Arduino board.
0 Comments
Leave a Reply. |