• Henk Vergonet's avatar
    Add i2c based module for am2320 humidity sensor · a1c1e015
    Henk Vergonet authored
    Example use:
    > sda=1
    > scl=2
    > am2320.init(sda,scl)
    > rh, t = am2320.read()
    > print(string.format("Temperature: %s degrees C", t / 10))
    > print(string.format("RH: %s %%", rh / 10))
    
    signed-off-by: henk.vergonet@gmail.com
    a1c1e015
user_modules.h 1.67 KB