|
VEX V5 Python API
|
Inherits vex.DigitalOut.
Public Member Functions | |
| def | __init__ (self, triport_port) |
| Use this class when programming with a led device. More... | |
| def | on (self) |
| Sets the led device to the on state. More... | |
| def | off (self) |
| Sets the led device to the off state. More... | |
| def | value (self) |
| Gets the value of the digital out device. More... | |
| def | set (self, is_set) |
| Sets the digital out device to a Boolean value. More... | |
| def | is_set (self) |
| def vex.Led.__init__ | ( | self, | |
| triport_port | |||
| ) |
Use this class when programming with a led device.
Reimplemented from vex.DigitalOut.
| def vex.Led.on | ( | self | ) |
Sets the led device to the on state.
| def vex.Led.off | ( | self | ) |
Sets the led device to the off state.
|
inherited |
Gets the value of the digital out device.
|
inherited |
Sets the digital out device to a Boolean value.
| is_set | A true or false Boolean value. |
|
inherited |
1.8.15