Definition at line 149 of file vw.py.
◆ __init__()
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.
◆ _calc_crc()
def vw.rx._calc_crc |
( |
|
self | ) |
|
|
private |
◆ _cb()
def vw.rx._cb |
( |
|
self, |
|
|
|
gpio, |
|
|
|
level, |
|
|
|
tick |
|
) |
| |
|
private |
◆ _insert()
def vw.rx._insert |
( |
|
self, |
|
|
|
bits, |
|
|
|
level |
|
) |
| |
|
private |
◆ cancel()
Cancels the wireless receiver.
Definition at line 316 of file vw.py.
◆ get()
Returns the next unread message, or None if none is avaiable.
Definition at line 301 of file vw.py.
◆ ready()
Returns True if there is a message available to be read.
Definition at line 310 of file vw.py.
◆ bad_CRC
◆ bits
◆ byte
◆ cb
◆ good
◆ in_message
◆ last_level
◆ last_tick
◆ max_mics
◆ message
◆ message_len
◆ message_length
◆ messages
◆ mics
◆ min_mics
◆ pi
◆ rxgpio
◆ timeout
◆ token
The documentation for this class was generated from the following file: