|
|
__init__(self,
port,
baudrate=115200,
mode='XID') |
source code
|
|
|
|
|
|
|
|
|
|
getKeyEvents(self,
allowedKeys=[1, 2, 3, 4, 5, 6, 7],
downOnly=True)
Return a list of keyEvents
Each event has the following attributes: |
source code
|
|
|
|
readMessage(self)
Read and return an unformatted string from the device (and delete this from the buffer) |
source code
|
|
|
|
|
|
|
waitKeyEvents(self,
allowedKeys=[1, 2, 3, 4, 5, 6, 7],
downOnly=True)
Like getKeyEvents, but waits until a key is pressed |
source code
|
|
|
|
|
|
|
|
|
|
getBaseTimer(self)
Retrieve the current time on the base timer |
source code
|
|
|
|
|