Skip to content

Commit d7160b4

Browse files
committed
Minor bug fix
1 parent 218c279 commit d7160b4

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

source/amebapro2/API_Documents/GPIO/Class DHT.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,16 @@ Class DHT
99
-------------
1010

1111
**Description**
12+
~~~~~~~~~~~~~~~
1213

1314
A class to use DHT temperature and humidity sensors.
1415

1516
**Syntax**
16-
class DHT
17+
~~~~~~~~~~
18+
19+
.. code-block:: c++
20+
21+
class DHT
1722

1823
**Members**
1924
~~~~~~~~~~~
@@ -133,6 +138,7 @@ Read temperature (Fahrenheit or Celsius) from the DHT sensor in selected scale.
133138

134139
**Parameters**
135140
~~~~~~~~~~~~~~
141+
136142
S: Scale for temperature. Default value is False (Refer to function declaration in DHT.h)
137143

138144
- True (Fahrenheit)

source/amebapro2/API_Documents/Gtimer/Class GTimerClass.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ Example: `TimerOneshot <https://github.com/Ameba-AIoT/ameba-arduino-pro2/blob/de
119119
.. note :: "GTimer.h" must be included to use the class function.
120120
121121
**GtimerCass::reload**
122+
----------------------
122123

123124
**Description**
124125
~~~~~~~~~~~~~~~

source/amebapro2/API_Documents/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ API Documents
22
=============
33

44
.. toctree::
5-
:maxdepth: 2
5+
:maxdepth: 1
66

77
Analog/index
88
FileSystem/index

0 commit comments

Comments
 (0)