This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| en:iot-open:practical:hardware:sut:stm32:emb3_1 [2024/04/22 17:03] – created ktokarz | en:iot-open:practical:hardware:sut:stm32:emb3_1 [2024/04/22 17:27] (current) – [Prerequisites] ktokarz | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| lib_deps = | lib_deps = | ||
| | | ||
| - | | ||
| </ | </ | ||
| Line 14: | Line 13: | ||
| * [[en: | * [[en: | ||
| * [[en: | * [[en: | ||
| + | |||
| + | It is also possible to present the temperature as the LED colour change with a PWM-controlled LED or LED stripe. Their usage is described here: | ||
| + | * [[en: | ||
| * [[en: | * [[en: | ||
| Line 35: | Line 37: | ||
| Include the DHT library and related sensor library. | Include the DHT library and related sensor library. | ||
| <code c> | <code c> | ||
| - | #include < | ||
| #include < | #include < | ||
| </ | </ | ||
| Line 77: | Line 78: | ||
| ===== FAQ ===== | ===== FAQ ===== | ||
| - | This section is to be extended as new questions appear. \\ | ||
| - | When using the printed version of this manual, please refer to the latest online version of this document to obtain the valid and up-to-date list of the FAQ. | ||
| **I've got NaN (Not a Number) readings. What to do?**: Check if GPIO is OK (should be D22), check if you initialised controller class and most of all, give the sensor some recovery time (at least 250ms) between consecutive readings. | **I've got NaN (Not a Number) readings. What to do?**: Check if GPIO is OK (should be D22), check if you initialised controller class and most of all, give the sensor some recovery time (at least 250ms) between consecutive readings. | ||