File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
source/amebapro2/API_Documents Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -9,11 +9,16 @@ Class DHT
9
9
-------------
10
10
11
11
**Description **
12
+ ~~~~~~~~~~~~~~~
12
13
13
14
A class to use DHT temperature and humidity sensors.
14
15
15
16
**Syntax **
16
- class DHT
17
+ ~~~~~~~~~~
18
+
19
+ .. code-block :: c++
20
+
21
+ class DHT
17
22
18
23
**Members **
19
24
~~~~~~~~~~~
@@ -133,6 +138,7 @@ Read temperature (Fahrenheit or Celsius) from the DHT sensor in selected scale.
133
138
134
139
**Parameters **
135
140
~~~~~~~~~~~~~~
141
+
136
142
S: Scale for temperature. Default value is False (Refer to function declaration in DHT.h)
137
143
138
144
- True (Fahrenheit)
Original file line number Diff line number Diff line change @@ -119,6 +119,7 @@ Example: `TimerOneshot <https://github.com/Ameba-AIoT/ameba-arduino-pro2/blob/de
119
119
.. note :: "GTimer.h" must be included to use the class function.
120
120
121
121
**GtimerCass::reload **
122
+ ----------------------
122
123
123
124
**Description **
124
125
~~~~~~~~~~~~~~~
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ API Documents
2
2
=============
3
3
4
4
.. toctree ::
5
- :maxdepth: 2
5
+ :maxdepth: 1
6
6
7
7
Analog/index
8
8
FileSystem/index
You can’t perform that action at this time.
0 commit comments