mattjlewis / diozero

Java Device I/O library that is portable across Single Board Computers and microcontrollers. Tested with Raspberry Pi, Odroid C2, BeagleBone Black, Next Thing CHIP, Asus Tinker Board and Arduinos / Pico. Supports GPIO, I2C, SPI as well as Serial communication. Also known to work with Udoo Quad.
https://www.diozero.com
MIT License
261 stars 59 forks source link

Add AHT21 Humidity & Temperature sensor #164

Closed afloarea closed 1 year ago

afloarea commented 1 year ago

Add AHT21 Humidity & Temperature sensor

You may have this in the works already but I got an AHT21 sensor which I found was not already in the list of supported devices so I thought I'd give this a shot and from what I can tell, it seems to be working fine.

Some additional notes:

Thank you for maintaining this awesome project 🙏.

afloarea commented 1 year ago

Hello, I have updated the PR according to your suggestions and I await for your feedback. Thanks