Camera Device icon Camera Device — Use PC or robot cameras for vision tracking: color, QR, glyph, face, object, motion; record video/data, control servos and movement, run scripts Try it →
 

Get12bit

ADC.get12Bit(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 as a 12 bit number.

Description

Returns the value read from the specified ADC port as a 12 bit number which ranges between 0 and 4095.