You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LoRa module tested with this library:
https://github.com/sandeepmistry/arduino-LoRa
Config to add in arduino-LoRa example sketches:
SPI.setMISO(RADIO_MISO_PORT);
SPI.setMOSI(RADIO_MOSI_PORT);
SPI.setSCLK(RADIO_SCLK_PORT);
SPI.setSSEL(RADIO_NSS_PORT);
LoRa.setPins(RADIO_NSS_PORT, RADIO_RESET_PORT, RADIO_DIO_0_PORT);
Note that a PR is under review for arduino-LoRa library to be able
to change the SPI instance used. So, instead of changing SPI pins,
a new instance could be created:
SPIClass LoRaSPI(RADIO_MOSI_PORT, RADIO_MISO_PORT, RADIO_SCLK_PORT, RADIO_NSS_PORT);
LoRa.setSPI(LoRaSPI);
LoRa.setPins(RADIO_NSS_PORT, RADIO_RESET_PORT, RADIO_DIO_0_PORT);
Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
0 commit comments