Particle Photon / Electron + RFN95W Long Range Radio

FYI for anyone using an RFM95 on the non default SPI config eg. SPI1

I have managed to get the radiohead library to compile by simply replacing all SPI with SPI1 in the RHHardwareSPI.cpp file. I have only just started testing this but so the it appears initialize the device correctly.

I also didn’t seem to need to include the atomic.h or half of the other source files? The compiler never asked for most of them so I assume that they are dependencies for other platforms

Hopefully someone with more experience will be able to do a better port job than this in the future though! :joy:

1 Like