pcf8591: add ADC only implementation for I2C ADC/DAC (#690)

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
Ron Evans
2024-07-01 15:06:25 +02:00
committed by GitHub
parent 1bf1a11067
commit ee3842f639
4 changed files with 120 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
package pcf8591
// PCF8591 Default Address
const defaultAddress = 0x48
// control bit for DAC
const PCF8591_ENABLE_DAC = 0x40