01-23-2022, 06:01 AM
Hi heman22
I have a project using a potentiometer connected to an ADS1115 ADC, which operates like a sensor
https://moodeaudio.org/forum/showthread.php?tid=3834
After looking at lots of driver code and other projects using the ADS1115 I finally found that the kernel included a driver for the board that could be used with "Industrial I/O", and it was very easy to use with the libiio C library (hard to believe how little code was required)
https://github.com/antiprism/turnandrun/search?q=iio
The following page describes setting up the BMP280 fo use with IIO
https://petermolnar.net/article/linux-i2c-iio-collectd/
Adrian.
I have a project using a potentiometer connected to an ADS1115 ADC, which operates like a sensor
https://moodeaudio.org/forum/showthread.php?tid=3834
After looking at lots of driver code and other projects using the ADS1115 I finally found that the kernel included a driver for the board that could be used with "Industrial I/O", and it was very easy to use with the libiio C library (hard to believe how little code was required)
https://github.com/antiprism/turnandrun/search?q=iio
The following page describes setting up the BMP280 fo use with IIO
https://petermolnar.net/article/linux-i2c-iio-collectd/
Adrian.