|
VEX EDR Python API
|
Config Digital output pin with on/off state. More...
Public Member Functions | |
| def | __init__ (self, digitalnum) |
| def | on (self) |
| Turn the output on. More... | |
| def | off (self) |
| Turn the output off. More... | |
| def | is_on (self, value=None) |
| Get or set the output state: on (True) or off (False). More... | |
Config Digital output pin with on/off state.
| digitalnum | digital port the output is connected to (1-12) |
| def vex.DigitalOutput.__init__ | ( | self, | |
| digitalnum | |||
| ) |
| def vex.DigitalOutput.on | ( | self | ) |
Turn the output on.
| def vex.DigitalOutput.off | ( | self | ) |
Turn the output off.
| def vex.DigitalOutput.is_on | ( | self, | |
value = None |
|||
| ) |
Get or set the output state: on (True) or off (False).
| value | set to True (on) or False (off). Omit to get current value. |
1.8.15