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 Nathaniel Wesley Filardo
parent d6c7bfe285
commit c8f0ec8a92
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.
!!! 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.