@@ -56,35 +56,35 @@ Button
56
56
------
57
57
58
58
.. autoclass :: Button(pin, \*, pull_up=True, active_state=None, bounce_time=None, hold_time=1, hold_repeat=False, pin_factory=None)
59
- :members: wait_for_press, wait_for_release, pin, is_pressed, is_held, hold_time, held_time, hold_repeat, pull_up, when_pressed, when_released, when_held
59
+ :members: wait_for_press, wait_for_release, pin, is_pressed, is_held, hold_time, held_time, hold_repeat, pull_up, when_pressed, when_released, when_held, value
60
60
61
61
62
62
LineSensor (TRCT5000)
63
63
---------------------
64
64
65
65
.. autoclass :: LineSensor(pin, \*, queue_len=5, sample_rate=100, threshold=0.5, partial=False, pin_factory=None)
66
- :members: wait_for_line, wait_for_no_line, pin, line_detected, when_line, when_no_line
66
+ :members: wait_for_line, wait_for_no_line, pin, line_detected, when_line, when_no_line, value
67
67
68
68
69
69
MotionSensor (D-SUN PIR)
70
70
------------------------
71
71
72
72
.. autoclass :: MotionSensor(pin, \*, queue_len=1, sample_rate=10, threshold=0.5, partial=False, pin_factory=None)
73
- :members: wait_for_motion, wait_for_no_motion, pin, motion_detected, when_motion, when_no_motion
73
+ :members: wait_for_motion, wait_for_no_motion, pin, motion_detected, when_motion, when_no_motion, value
74
74
75
75
76
76
LightSensor (LDR)
77
77
-----------------
78
78
79
79
.. autoclass :: LightSensor(pin, \*, queue_len=5, charge_time_limit=0.01, threshold=0.1, partial=False, pin_factory=None)
80
- :members: wait_for_light, wait_for_dark, pin, light_detected, when_light, when_dark
80
+ :members: wait_for_light, wait_for_dark, pin, light_detected, when_light, when_dark, value
81
81
82
82
83
83
DistanceSensor (HC-SR04)
84
84
------------------------
85
85
86
86
.. autoclass :: DistanceSensor(echo, trigger, \*, queue_len=30, max_distance=1, threshold_distance=0.3, partial=False, pin_factory=None)
87
- :members: wait_for_in_range, wait_for_out_of_range, trigger, echo, when_in_range, when_out_of_range, max_distance, distance, threshold_distance
87
+ :members: wait_for_in_range, wait_for_out_of_range, trigger, echo, when_in_range, when_out_of_range, max_distance, distance, threshold_distance, value
88
88
89
89
90
90
Base Classes
@@ -105,7 +105,7 @@ DigitalInputDevice
105
105
------------------
106
106
107
107
.. autoclass :: DigitalInputDevice(pin, \*, pull_up=False, active_state=None, bounce_time=None, pin_factory=None)
108
- :members: wait_for_active, wait_for_inactive, when_activated, when_deactivated, active_time, inactive_time
108
+ :members: wait_for_active, wait_for_inactive, when_activated, when_deactivated, active_time, inactive_time, value
109
109
110
110
111
111
SmoothedInputDevice
0 commit comments