Add note about GPL (#3400)

Fixes #3025
This commit is contained in:
Marcel Stör 2021-02-14 08:40:16 +01:00 committed by GitHub
parent e416045485
commit 6643cb4697
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -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. 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() ## am2320.read()
Samples the sensor and returns the relative humidity in % and temperature in celsius, as an integer multiplied with 10. Samples the sensor and returns the relative humidity in % and temperature in celsius, as an integer multiplied with 10.