Definition at line 149 of file vw.py.
def vw.rx.__init__ |
( |
|
self, |
|
|
|
pi, |
|
|
|
rxgpio, |
|
|
|
bps = 2000 |
|
) |
| |
Instantiate a receiver with the Pi, the receive gpio, and
the bits per second (bps). The bps defaults to 2000.
The bps is constrained to be within MIN_BPS to MAX_BPS.
Definition at line 151 of file vw.py.
def vw.rx._calc_crc |
( |
|
self | ) |
|
|
private |
def vw.rx._cb |
( |
|
self, |
|
|
|
gpio, |
|
|
|
level, |
|
|
|
tick |
|
) |
| |
|
private |
def vw.rx._insert |
( |
|
self, |
|
|
|
bits, |
|
|
|
level |
|
) |
| |
|
private |
Cancels the wireless receiver.
Definition at line 316 of file vw.py.
Returns the next unread message, or None if none is avaiable.
Definition at line 301 of file vw.py.
Returns True if there is a message available to be read.
Definition at line 310 of file vw.py.
The documentation for this class was generated from the following file: