8000 GitHub - epsilonrt/Max11615Lib: Library for using the MAX11612-MAX11617 ADC with I2C for Arduino
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

epsilonrt/Max11615Lib

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Library for using the MAX11612-MAX11617 ADC with I2C for Arduino

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 100.0%
0