Open zzxjl1 opened 5 years ago
Hi...
take a look at the default port settings:
am I wrong or you are using differents GPIO ?
see also:
void setPins(int ss = LORA_DEFAULT_SS_PIN, int reset = LORA_DEFAULT_RESET_PIN, int dio0 = LORA_DEFAULT_DIO0_PIN);
Best Regards,
Giampaolo
Try
LoRa.setSPIFrequency(1E6);
to change
LoRa.setSPIFrequency(4E6);
It works for me.
I keep getting "Starting LoRa failed!" I've tried a lot of different pin configs. Nothing seems to help. I've used the code in /examples/LoRaSender/LoRaSender.ino as a base but changed frequenzy to 433E6 in order to match the frequeny on my module.
I'm using ESP8266/NodeMcu with AI-Thinker Ra-01 Lora module. Has anyone get this setup working?
I‘m using an arduino nano
D12-LEVEL SHIFTER-MISO D11-LEVER SHIFTER-MOSI D6-LEVER SHIFTER-NSS D5-LEVER SHIFTER-RST D4-LEVER SHIFTER-DIO0 D13-LEVER SHIFTER-SCK