Public Member Functions | Public Attributes | Private Member Functions
vw.rx Class Reference

List of all members.

Public Member Functions

def __init__
def cancel
def get
def ready

Public Attributes

 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

Private Member Functions

def _calc_crc
def _cb
def _insert

Detailed Description

Definition at line 149 of file vw.py.


Constructor & Destructor Documentation

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.


Member Function Documentation

def vw.rx._calc_crc (   self) [private]

Definition at line 191 of file vw.py.

def vw.rx._cb (   self,
  gpio,
  level,
  tick 
) [private]

Definition at line 248 of file vw.py.

def vw.rx._insert (   self,
  bits,
  level 
) [private]

Definition at line 198 of file vw.py.

def vw.rx.cancel (   self)
Cancels the wireless receiver.

Definition at line 316 of file vw.py.

def vw.rx.get (   self)
Returns the next unread message, or None if none is avaiable.

Definition at line 301 of file vw.py.

def vw.rx.ready (   self)
Returns True if there is a message available to be read.

Definition at line 310 of file vw.py.


Member Data Documentation

Definition at line 155 of file vw.py.

Definition at line 155 of file vw.py.

Definition at line 155 of file vw.py.

Definition at line 155 of file vw.py.

Definition at line 155 of file vw.py.

Definition at line 155 of file vw.py.

Definition at line 248 of file vw.py.

Definition at line 155 of file vw.py.

Definition at line 155 of file vw.py.

Definition at line 155 of file vw.py.

Definition at line 155 of file vw.py.

Definition at line 198 of file vw.py.

Definition at line 155 of file vw.py.

Definition at line 155 of file vw.py.

Definition at line 155 of file vw.py.

Definition at line 155 of file vw.py.

Definition at line 155 of file vw.py.

Definition at line 155 of file vw.py.

Definition at line 155 of file vw.py.


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


cob_hand_bridge
Author(s): Mathias L├╝dtke
autogenerated on Thu Jun 6 2019 20:43:57