Read analog voltage of pin.
ar - connected arduino object.
pin - string name of the pin to read.
value - analog value of the pin
ar = arduino (); readAnalogPin(ar, "A4"); ans = 87
See also: arduino, readVoltage.
Package: arduino