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

Update DHT22 receiveSignal to use runtime/interrupt #488

Closed jasdel closed 1 year ago

jasdel commented 1 year ago

Fixes #483 by updating the DHT22 device to use runtime/interrupt instead of machine.UART1 for interrupt disabling while receiving signals from the device.

deadprogram commented 1 year ago

Thanks for the correction @jasdel that makes a lot more sense. Now merging.