Metadata-Version: 2.1
Name: micropython-ahtx0
Version: 0.1.0
Summary: MicroPython driver for the AHT10 and AHT20 temperature and humindity sensors.
Home-page: https://github.com/targetblank/micropython_ahtx0
Author: Andreas Bühl
Author-email: code@abuehl.de
License: UNKNOWN
Description: # micropython_ahtx0
        
        MicroPython driver for the AHT10 and AHT20 temperature and humindity sensors.
        
        ## Example usage
        
        ```python
        import utime
        from machine import Pin, I2C
        
        import ahtx0
        
        # I2C for the Wemos D1 Mini with ESP8266
        i2c = I2C(scl=Pin(5), sda=Pin(4))
        
        # Create the sensor object using I2C
        sensor = ahtx0.AHT10(i2c)
        
        while True:
            print("\nTemperature: %0.2f C" % sensor.temperature)
            print("Humidity: %0.2f %%" % sensor.relative_humidity)
            utime.sleep(5)
        ```
        
Keywords: aht10,aht20,micropython,temperature,humidity,sensor,i2c
Platform: UNKNOWN
Classifier: Programming Language :: Python :: Implementation :: MicroPython
Classifier: License :: OSI Approved :: MIT License
Description-Content-Type: text/markdown
