mirror of https://github.com/noisymime/Arduino.git
Serial plotter: added comment to ReadAnalogVoltage. See #3451
This commit is contained in:
parent
d9b3a86e84
commit
974fef1000
|
@ -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.
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue