![]() Self.timeout = 8 * self.mics / 1000 # 8 bits time in ms. Self.max_mics = (self.mics + slack_mics) * 4 # Longest legal edge. Self.min_mics = self.mics - slack_mics # Shortest legal edge. The bps is constrained to be within MIN_BPS to MAX_BPS. Instantiate a receiver with the Pi, the receive gpio, and Returns True if a new message may be transmitted.Ĭancels the wireless transmitter, aborting any messageĭef _init_(self, pi, rxgpio, bps=2000): Is currently being transmitted it is aborted and replaced ![]() ![]() MAX_MESSAGE_BYTES in size it is discarded. | Returns True if a new message may be transmitted.Įxample usage shown in the _main_ section. | is currently being transmitted it is aborted and replaced | MAX_MESSAGE_BYTES in size it is discarded. | Cancels the wireless transmitter, aborting any message | Instantiate a transmitter with the Pi, the transmit gpio, | Returns True if there is a message available to be read. | Returns the next unread message, or None if none is avaiable. | The bps is constrained to be within MIN_BPS to MAX_BPS. | Instantiate a receiver with the Pi, the receive gpio, and ![]() It has been tested between a Pi, TI Launchpad, and Arduino Pro Mini. With the Virtual Wire library used on Arduinos. This module provides a 313MHz/434MHz radio interface compatible ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |