mirror of
https://github.com/nodemcu/nodemcu-firmware.git
synced 2025-01-16 20:52:57 +08:00
a1c1e015ff
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