Skip to content

Commit 716fd5b

Browse files
committed
clean up comments
1 parent f1b6433 commit 716fd5b

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

adafruit_rfm69.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -683,6 +683,8 @@ def send(self, data, timeout=2., keep_listening=False,
683683
The tx_header defaults to using the Broadcast addresses. It may be overidden
684684
by specifying a 4-tuple of bytes containing (To,From,ID,Flags)
685685
The timeout is just to prevent a hang (arbitrarily set to 2 seconds)
686+
The keep_listening argument should be set to True if you want to start listening
687+
automatically after the packet is sent. The default setting is False.
686688
"""
687689
# Disable pylint warning to not use length as a check for zero.
688690
# This is a puzzling warning as the below code is clearly the most

examples/rfm69_rpi_interrupt.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# to be received. Interrupts are used only for receive. sending is done with polling.
33
# This example is for systems that support interrupts like the Raspberry Pi with "blinka"
44
# CircuitPython does not support interrupts so it will not work on Circutpython boards
5+
# Author: Tony DiCola, Jerry Needell
56
import time
67
import board
78
import busio

examples/rfm69_transmit.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import digitalio
88
import adafruit_rfm69
99

10+
# set the time interval (seconds) for sending packets
1011
transmit_interval=10
1112

1213
# Define radio parameters.

0 commit comments

Comments
 (0)