Serial plotter: added comment to ReadAnalogVoltage. See #3451

This commit is contained in:
Federico Fissore 2015-07-07 09:04:00 +02:00
parent d9b3a86e84
commit 974fef1000
2 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,7 @@
/* /*
AnalogReadSerial AnalogReadSerial
Reads an analog input on pin 0, prints the result to the serial monitor. Reads an analog input on pin 0, prints the result to the serial monitor.
Graphical representation of readings available using serial plotter (Tools > Serial Plotter menu) Graphical representation is available using serial plotter (Tools > Serial Plotter menu)
Attach the center pin of a potentiometer to pin A0, and the outside pins to +5V and ground. Attach the center pin of a potentiometer to pin A0, and the outside pins to +5V and ground.
This example code is in the public domain. This example code is in the public domain.

View File

@ -1,6 +1,7 @@
/* /*
ReadAnalogVoltage ReadAnalogVoltage
Reads an analog input on pin 0, converts it to voltage, and prints the result to the serial monitor. Reads an analog input on pin 0, converts it to voltage, and prints the result to the serial monitor.
Graphical representation is available using serial plotter (Tools > Serial Plotter menu)
Attach the center pin of a potentiometer to pin A0, and the outside pins to +5V and ground. Attach the center pin of a potentiometer to pin A0, and the outside pins to +5V and ground.
This example code is in the public domain. This example code is in the public domain.