Drivers for taxi sign hardware¶
taxisign_driver¶
-
class
taxisign_driver.Taxisign[source]¶ Bases:
objectTaxi sign representation.
For controlling a Taxi sign from a Beaglebone. This is basically the Beaglebone output_pin_driver, together with hardware-describing constants.
- Module constants describing the hardware:
- GPIO_NUMBER (int): GPIO number for pin connected to relay driver circuit.
- IS_INVERTED (bool): Set to True if the relay and its driver circuit are connected such that the taxi sign turns off for GPIO=high.
-
* state bool
Set to True to turn on the taxi sign.
-
state¶