mirror of
https://github.com/nodemcu/nodemcu-firmware.git
synced 2025-01-16 20:52:57 +08:00
parent
e416045485
commit
6643cb4697
@ -6,6 +6,10 @@
|
||||
|
||||
This module provides access to the [AM2320](https://akizukidenshi.com/download/ds/aosong/AM2320.pdf) humidity and temperature sensor, using the i2c interface.
|
||||
|
||||
!!! caution
|
||||
|
||||
This code is licensed under GPL by its author. Any binaries that include this module becomes subject to the GPL, requiring anyone who ships them to also ship source.
|
||||
|
||||
## am2320.read()
|
||||
Samples the sensor and returns the relative humidity in % and temperature in celsius, as an integer multiplied with 10.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user