adafruit / Adafruit_CircuitPython_RFM69

CircuitPython module for the RFM69 series of 433/915 mhz packet radios.
MIT License
31 stars 28 forks source link

fix frequency setter and misc items #7

Closed jerryneedell closed 6 years ago

jerryneedell commented 6 years ago

This fixes the frequency setter to correctly set fewquency_mhz. I also added a timeout to the send function to avoid a potential hang. the parameters to set the send/receive timeouts were renamed from timeout_s to timeout to be compatible with the standard naming conventions. The deafault SPI baudrate was lowered to 5MHz as was done for the RF95x to avoid problems with the breakout boards.

Note : I cannot make any sense of the RSSI readings from this module. I did not change the way they are reported and this issue was present in the current release, but the values reported are much lower than expected and much lower than those reported by Arduino.

I tested this with both an RFM69HCW featherwing and an RFM69HCW breakout board

jerryneedell commented 6 years ago

@tannewt Are there more changes needed? Let me know if I missed something.