Analog to digital conversion via I2C using a 5 channels 10 bit kit from Horter.
Analog to digital conversion via I2C using a [5 channels 10 bit kit from Horter](https://www.horter-shop.de/en/i2c-din-rail-modules/172-kit-i2c-analog-input-module-5-channel-10-bit-4260404260745.html).
(read-channels bus)
Reads the current value of each channel.
Returns a map of channel number -> 10 bit value.
Do not forget to select the needed I2C slave device before calling this function.
Reads the current value of each channel. Returns a map of channel number -> 10 bit value. Do not forget to select the needed I2C slave device before calling this function.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close