Speech Script icon Speech Script Run custom scripts when speech starts/ends to sync servos and LEDs to spoken $SpeechTxt, with loop support, stop button and logs. Try it →
 

Get

ADC.get(port, [ezbIndex])

Parameters

port Analog port to read from.
ezbIndex (optional) Board index of the EZB to read from.

Returns

The value read from the specified ADC port.

Description

Returns the value read from the specified ADC port. The value read from the ADC port ranges between 0 and 255.