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
607 stars 191 forks source link

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

Closed deadprogram closed 3 months ago

deadprogram commented 3 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 3 months ago

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

deadprogram commented 3 months ago

Thanks for the proofreading @sago35 changes made and pushed.