mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-10-29 17:50:37 +00:00
committed by
Dave Jones
parent
b1a632e992
commit
53b78f1e32
@@ -572,7 +572,7 @@ class SnowPi(LEDBoard):
|
|||||||
|
|
||||||
class TrafficLightsBuzzer(CompositeOutputDevice):
|
class TrafficLightsBuzzer(CompositeOutputDevice):
|
||||||
"""
|
"""
|
||||||
Extends :class:`CompositeDevice` and is a generic class for HATs with
|
Extends :class:`CompositeOutputDevice` and is a generic class for HATs with
|
||||||
traffic lights, a button and a buzzer.
|
traffic lights, a button and a buzzer.
|
||||||
|
|
||||||
:param TrafficLights lights:
|
:param TrafficLights lights:
|
||||||
|
|||||||
@@ -279,7 +279,7 @@ Button.wait_for_release = Button.wait_for_inactive
|
|||||||
|
|
||||||
class LineSensor(SmoothedInputDevice):
|
class LineSensor(SmoothedInputDevice):
|
||||||
"""
|
"""
|
||||||
Extends :class:`DigitalInputDevice` and represents a single pin line sensor
|
Extends :class:`SmoothedInputDevice` and represents a single pin line sensor
|
||||||
like the TCRT5000 infra-red proximity sensor found in the `CamJam #3
|
like the TCRT5000 infra-red proximity sensor found in the `CamJam #3
|
||||||
EduKit`_.
|
EduKit`_.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user