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
This LoRa library is written with the standard Arduino Uno SPI bus pinouts. When using ESP8266 or ESP32 related boards then their appropriate SPI pins need to be defined. This definition needs absolutely to be placed in the very first line of void setup().
For example:
LoRa.setPins(csPin, resetPin, DIO0Pin);
defines the chipselect pin as cs, the reset pin as resetPin and the callback interrupt pin as DIO0 (referring to the RFM9x modules).
If this is not done in the first instance than the wrong SPI pins are used and get in conflict with an alternative SPI bus used on the ESP series for their flash memory.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
This LoRa library is written with the standard Arduino Uno SPI bus pinouts. When using ESP8266 or ESP32 related boards then their appropriate SPI pins need to be defined. This definition needs absolutely to be placed in the very first line of void setup().
For example:
LoRa.setPins(csPin, resetPin, DIO0Pin);
defines the chipselect pin as cs, the reset pin as resetPin and the callback interrupt pin as DIO0 (referring to the RFM9x modules).
If this is not done in the first instance than the wrong SPI pins are used and get in conflict with an alternative SPI bus used on the ESP series for their flash memory.
Beta Was this translation helpful? Give feedback.
All reactions