File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 51
51
52
52
53
53
class DHTBase :
54
- """base support for DHT11 and DHT22 devices"""
54
+ """base support for DHT11 and DHT22 devices
55
+
56
+ :param bool dht11: True if device is DHT11, otherwise DHT22.
57
+ :param ~board.Pin pin: digital pin used for communication
58
+ :param int trig_wait: length of time to hold trigger in LOW state (microseconds)
59
+ :param bool use_pulseio: False to force bitbang when pulseio available (only with Blinka)
60
+ """
55
61
56
62
__hiLevel = 51
57
63
@@ -64,12 +70,6 @@ def __init__(
64
70
* ,
65
71
max_pulses : int = 81
66
72
):
67
- """
68
- :param boolean dht11: True if device is DHT11, otherwise DHT22.
69
- :param ~board.Pin pin: digital pin used for communication
70
- :param int trig_wait: length of time to hold trigger in LOW state (microseconds)
71
- :param boolean use_pulseio: False to force bitbang when pulseio available (only with Blinka)
72
- """
73
73
self ._dht11 = dht11
74
74
self ._pin = pin
75
75
self ._trig_wait = trig_wait
You can’t perform that action at this time.
0 commit comments