LORA Shield for RPI

From ElectroDragon Wiki

Lora Shield for RPI

Lora rpi working.png
  • For demo1 code, Config value
// SX1272 - Raspberry connections
int ssPin = 6; // GPIO25, IO_GEN6
int dio0  = 7; // GPIO4, IO_GCLK
int RST   = 0; // GPIO17, IO_GEN0

// Set spreading factor (SF7 - SF12)
sf_t sf = SF7; //?

// Set center frequency
uint32_t  freq = 868100000; // in Mhz! (868.1) //?