VEX IQ Python API
Public Member Functions | List of all members
vexiq.Output Class Reference

Digital output. More...

Public Member Functions

def __init__ (self, port)
 
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...
 

Detailed Description

Digital output.

Deprecated:
ONLY for use in Classic Mimics

Constructor & Destructor Documentation

◆ __init__()

def vexiq.Output.__init__ (   self,
  port 
)

Member Function Documentation

◆ on()

def vexiq.Output.on (   self)

Turn the output on.

◆ off()

def vexiq.Output.off (   self)

Turn the output off.

◆ is_on()

def vexiq.Output.is_on (   self,
  value = None 
)

Get or set the output state: on (True) or off (False).

Returns
bool