VEX V5 Python API
Public Member Functions | List of all members
vex.DigitalIn Class Reference

Inherits vex.TriDevice.

Public Member Functions

def __init__ (self, triport_port)
 Use this class when programming with a digital in device. More...
 
def value (self)
 Gets the value of the digital in device. More...
 
def is_set (self)
 

Constructor & Destructor Documentation

◆ __init__()

def vex.DigitalIn.__init__ (   self,
  triport_port 
)

Use this class when programming with a digital in device.

Member Function Documentation

◆ value()

def vex.DigitalIn.value (   self)

Gets the value of the digital in device.

Returns
Returns an integer that represents the value of the digital out device.

◆ is_set()

def vex.DigitalIn.is_set (   self)