|Alban Gruin 213c6e83d0 Fixing voltage display in differential.c||3 years ago|
|examples||3 years ago|
|.gitignore||3 years ago|
|Adafruit_ADS1015.c||3 years ago|
|Adafruit_ADS1015.h||3 years ago|
|Makefile||3 years ago|
|README.md||3 years ago|
|license.txt||7 years ago|
C library for TI's ADS1015: 12-bit Differential or Single-Ended ADC with PGA and Comparator.
This was originally a C++ library for Arduino, but I converted it to C and ported it to Linux.
This library only works on Linux. I don't have the time to port it to other platforms, but you can do a pull request.
There is a simple Makefile. No configure script, or autotools, or cmake, or any other tool, is required. To build the library and the examples, just clone the repo, cd to the folder, and run make.
There is other targets:
You can also use parameters:
By default, the compiler generates debugging symbols. Using MODE=release will disable them.
This library is not endorsed by Adafruit. I needed a C library for the ADS1015, so I forked and ported their Arduino library to Linux.