Skip to content

Commit 32cdbd5

Browse files
committed
changes per review -- update comments -- change transmit interval in demos
1 parent 6cba44e commit 32cdbd5

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

adafruit_rfm69.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ def __init__(
339339
# destination address - default is broadcast
340340
self.destination = _RH_BROADCAST_ADDRESS
341341
"""The default destination address for packet transmissions. (0-255).
342-
If 255 (0xff) then any receiing node should accept the packet.
342+
If 255 (0xff) then any receiving node should accept the packet.
343343
Second byte of the RadioHead header.
344344
"""
345345
# ID - contains seq count for reliable datagram mode
@@ -795,7 +795,7 @@ def send_with_ack(self, data):
795795
"""Reliable Datagram mode:
796796
Send a packet with data and wait for an ACK response.
797797
The packet header is automatically generated.
798-
If enabled, the packet tranmsiion will be retried on failure
798+
If enabled, the packet transmission will be retried on failure
799799
"""
800800
if self.ack_retries:
801801
retries_remaining = self.ack_retries

examples/rfm69_node1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010

1111
# set the time interval (seconds) for sending packets
12-
transmit_interval = 5
12+
transmit_interval = 10
1313

1414
# Define radio parameters.
1515
RADIO_FREQ_MHZ = 915.0 # Frequency of the radio in Mhz. Must match your

examples/rfm69_node1_ack.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import adafruit_rfm69
99

1010
# set the time interval (seconds) for sending packets
11-
transmit_interval = 5
11+
transmit_interval = 10
1212

1313
# Define radio parameters.
1414
RADIO_FREQ_MHZ = 915.0 # Frequency of the radio in Mhz. Must match your

0 commit comments

Comments
 (0)