Read analog voltage of a pin.
ar - connected arduino.
pin - pin name or number to query for voltage
voltage - scaled pin value as a voltage
ar = arduino ();
readVoltage(ar, "A4");
ans =
1.401
See also: arduino, readAnalogPin.
Package: arduino