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
604 stars 188 forks source link

scd4x: implementation for CO2 sensor #406

Closed deadprogram closed 2 years ago

deadprogram commented 2 years ago

This PR adds the scd4x co2 sensor.

https://www.adafruit.com/product/5187

Needs to be tested on real hardware, hence draft.

EDIT: now tested on real hardware and working.

deadprogram commented 2 years ago

Thanks for the corrections @conejoninja now merging.