The transceiver present on the TeensyWiNo is a HopeRF RFM22b (datasheet).
The HopeRF RFM22b on TeensyWiNo
The RadioHead RH_RF22 examples must be modified to be executed on the TeensyWiNo board:
- Teensy SPI
clockpin must be set to pin #14 - Teensy SPI
CSpin must be set to pin SS - Teensy SPI
IRQpin must be set to pin #9
Here is the correct configuration in the RH_RF22 constructor of the Arduino sketch:
|
|
In the setup(), before calling rf22.init():
|
|
With these two modifications, all RadioHead RH_RF22 example sketchs are operational.