| Home | Trees | Index | Help |
|
|---|
| Package pyrobot :: Package system :: Module SerialConnection :: Class SerialConnection |
|
| Method Summary | |
|---|---|
__init__(self,
aDevice,
aSpeed)
| |
Close the device... | |
Return the integer representation of the device... | |
Read a line from the device, with or without blocking... | |
Set baud rate of the device... | |
Write a complete block of data to the device... | |
Write out just one line... | |
| Class Variable Summary | |
|---|---|
int |
CC = 6 |
int |
CFLAG = 2 |
int |
IFLAG = 0 |
int |
ISPEED = 4 |
int |
LFLAG = 3 |
int |
OFLAG = 1 |
int |
OSPEED = 5 |
| Method Details |
|---|
close(self)Close the device |
fileno(self)Return the integer representation of the device |
readline(self, aBlocking=0)Read a line from the device, with or without blocking |
setSpeed(self, aSpeed)Set baud rate of the device |
writeblock(self, aBlock)Write a complete block of data to the device |
writeline(self, aData, newline='\n')Write out just one line |
| Class Variable Details |
|---|
CC
|
CFLAG
|
IFLAG
|
ISPEED
|
LFLAG
|
OFLAG
|
OSPEED
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Mon Jul 25 01:39:28 2005 | http://epydoc.sf.net |