Loading...
Searching...
No Matches
External ADC

The MAX11635 chip behind A3-A5, by channel. More...

Classes

class  MAX11635
 Driver for the on-board MAX11635 12-bit ADC (U5). More...

Functions

 external_adc ()
 Initializes _ext_adc variable for use by the user.

Detailed Description

The MAX11635 chip behind A3-A5, by channel.

Most programs use the Analog inputs functions instead. Use this for a scan of several channels or a differential reading in raw codes.

Function Documentation

◆ external_adc()

external_adc ( )

Initializes _ext_adc variable for use by the user.

The first call resets the chip and gives it the analog_averaging() setting. Use it for scan(), read_differential() on A5 - VBUS, or the raw VBUS channel; the analogue functions already cover A3-A5.

Returns
The MAX11635 object (the same one every call).