ARC Pro

Upgrade to ARC Pro

Get access to the latest features and updates before they're released. You'll have everything that's needed to unleash your robot's potential!

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.