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

List of all members.

Public Member Functions

def __init__
def cancel
def put
def ready

Public Attributes


Private Member Functions

def _byte
def _nibble

Detailed Description

Definition at line 46 of file

Constructor & Destructor Documentation

def vw.tx.__init__ (   self,
  bps = 2000 
Instantiate a transmitter with the Pi, the transmit 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 48 of file

Member Function Documentation

def vw.tx._byte (   self,
) [private]

Definition at line 80 of file

def vw.tx._nibble (   self,
) [private]

Definition at line 72 of file

def vw.tx.cancel (   self)
Cancels the wireless transmitter, aborting any message
in progress.

Definition at line 137 of file

def vw.tx.put (   self,
Transmit a message.  If the message is more than
MAX_MESSAGE_BYTES in size it is discarded.  If a message
is currently being transmitted it is aborted and replaced
with the new message.  True is returned if message
transmission has successfully started.  False indicates
an error.

Definition at line 85 of file

def vw.tx.ready (   self)
Returns True if a new message may be transmitted.

Definition at line 131 of file

Member Data Documentation

Definition at line 52 of file

Definition at line 52 of file

Definition at line 52 of file

Definition at line 52 of file

Definition at line 92 of file

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

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