Max11615 Library
Loading...
Searching...
No Matches
Max11615 Library

MAX11612-MAX11617 ADC Library for Arduino

Build GitHub release (latest by date including pre-releases) PlatformIO Registry Arduino Registry
Framework

This library is designed to work with the MAX11612, MAX11613, MAX11614, MAX11615, MAX11616, MAX11617 12-bit ADC. It is designed to work with the Arduino platform.

Example usage:

#include <MAX11615.h>
MAX11615 adc; // slave address is 0x33
void setup() {
Serial.begin(115200);
Wire.begin(); // can be called with arguments to specify the bus speed and the pins
adc.begin(); // Initialize the ADC, default I2C bus is Wire, but another bus can be passed as an argument
}
void loop() {
Serial.print(">AIN0:");
Serial.println(adc.readSingleEnded(MAX11615::AIN0));
delay(1000);
}

The library is designed to be easy to use and to be as close as possible to the datasheet. Another examples are provided in the examples folder.