ports
Module Contents
- class ports.QtPort(config='/configs/veda-esp32.json')
- getPortsCount()
Get The Ports Count
- Returns:
int: get the ports count
- getRJPortsCount()
Get The RJ11 Ports Count
- Returns:
int: get the RJ11 ports count
- getMotorPortsCount()
Get The Motor Ports Count
- Returns:
int: get the motor ports count
- getUsbPortsCount()
Get The USB Ports Count
- Returns:
int: get the usb ports count
- getAnalogPin(port=None, port_type='rj')
get the analog pin
- Args:
port (int, optional): port number for which analog pin requested. Defaults to None. port_type (str, optional): [description]. Defaults to ‘rj’.
- Returns:
int: return the analog pin
- getDigitalPin(port=None, port_type='rj')
get the digital pin
- Args:
port (int, optional): port number for which digital pin requested. Defaults to None. port_type (str, optional): [description]. Defaults to ‘rj’.
- Returns:
int: return the analog pin
- getMotorPins(port=None)
get the motor pins
- Args:
port (int, optional): port number for which motor pins requested. Defaults to None.
- Returns:
int, int: return the motor pins