tinygo-org / drivers

TinyGo drivers for sensors, displays, wireless adaptors, and other devices that use I2C, SPI, GPIO, ADC, and UART interfaces.
https://tinygo.org
BSD 3-Clause "New" or "Revised" License
622 stars 196 forks source link

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

Closed deadprogram closed 4 months ago

deadprogram commented 5 months ago

This PR adds an ADC only implementation for the pcf8591 I2C ADC/DAC.

A future PR can add the DAC feature.

deadprogram commented 4 months ago

Thanks for the quick feedback @sago35 changes made to this PR, please take a look.

deadprogram commented 4 months ago

Thanks for the proofreading @sago35 changes made and pushed.