Skip to content

Commit 0cd3113

Browse files
authored
Add new RFM69 Feather M0 pins to example.
1 parent 21b58d8 commit 0cd3113

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

examples/simpletest.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,12 @@
1313
RADIO_FREQ_MHZ = 915.0 # Frequency of the radio in Mhz. Must match your
1414
# module! Can be a value like 915.0, 433.0, etc.
1515

16-
# Define pins connected to the chip.
16+
# Define pins connected to the chip, use these if wiring up the breakout according to the guide:
1717
CS = digitalio.DigitalInOut(board.D5)
1818
RESET = digitalio.DigitalInOut(board.D6)
19+
# Or uncomment and instead use these if using a Feather M0 RFM69 board and the appropriate CircuitPython build:
20+
#CS = digitalio.DigitalInOut(board.RFM69_CS)
21+
#RESET = digitalio.DigitalInOut(board.RFM69_RESET)
1922

2023
# Initialize SPI bus.
2124
spi = busio.SPI(board.SCK, MOSI=board.MOSI, MISO=board.MISO)

0 commit comments

Comments
 (0)