mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-10-29 17:50:37 +00:00
Fix #109
Document and test the LineSensor class properly. Multi-sensor devices can wait for now.
This commit is contained in:
@@ -20,6 +20,13 @@ Button
|
||||
:members: wait_for_press, wait_for_release, pin, is_pressed, pull_up, when_pressed, when_released
|
||||
|
||||
|
||||
Line Sensor (TRCT5000)
|
||||
======================
|
||||
|
||||
.. autoclass:: LineSensor(pin)
|
||||
:members: wait_for_line, wait_for_no_line, pin, line_detected, when_line, when_no_line
|
||||
|
||||
|
||||
Motion Sensor (D-SUN PIR)
|
||||
=========================
|
||||
|
||||
|
||||
Reference in New Issue
Block a user