PiStorms  4.015
PiStorms Library Reference by mindsensors.com
 All Classes Namespaces Files Functions Variables
PiStormsCom_GRX.GRXCom Class Reference

GRXCom: this class provides communication functions for PiStorms-GRX. More...

Classes

class  BAM1
 
class  BAM2
 
class  COMMAND
 
class  I2C
 
class  OFFSET
 
class  REGISTER
 
class  TYPE
 

Public Member Functions

def __init__
 
def setType
 
def digitalRead
 
def analogRead
 
def digitalWrite
 
def readEncoderValue
 
def setEncoderTarget
 
def setPID
 
def getTouchscreenCoordinates
 
def getKeyPressValue
 
def ping
 
def getKeyPressCount
 
def battVoltage
 
def GetFirmwareVersion
 
def GetDeviceId
 
def led
 

Public Attributes

 i2c
 
 address
 

Static Public Attributes

list SERVO = [0x42+i*0x02 for i in range(3)]
 
list ANALOG = [0x48+i*0x16 for i in range(3)]
 
list DIGITAL = [0x8A+i*0x16 for i in range(2)]
 

Detailed Description

GRXCom: this class provides communication functions for PiStorms-GRX.

Do not use this class directly in user programs.


The documentation for this class was generated from the following file: