Open DiegoDVG opened 3 years ago
hi, this is my code,
#define BAND 868E6 @de //LORA lora_spi.begin(SCK, MISO, MOSI, SS); LoRa.setPins(SS, RST, DIO0); LoRa.setSPI(lora_spi); if (!LoRa.begin(BAND)) { Serial.println("Fallo Lora!"); } LoRa.setSpreadingFactor(7); LoRa.setSignalBandwidth(125E3); LoRa.enableCrc();
I use this library in my arduino with this gateway https://www.dragino.com/products/lora/item/143-lg01n.html
I change the frecuency in the gateway and the sync world, but i cand recive data,
Anyone use this combiantion
You need to find the correct pin mapping of the SPI LoRa in that board. The board is mixed between Arduino board and Linux board.
So try harder.
hi, this is my code,
#define BAND 868E6 @de //LORA lora_spi.begin(SCK, MISO, MOSI, SS); LoRa.setPins(SS, RST, DIO0); LoRa.setSPI(lora_spi); if (!LoRa.begin(BAND)) { Serial.println("Fallo Lora!"); } LoRa.setSpreadingFactor(7); LoRa.setSignalBandwidth(125E3); LoRa.enableCrc();
I use this library in my arduino with this gateway https://www.dragino.com/products/lora/item/143-lg01n.html
I change the frecuency in the gateway and the sync world, but i cand recive data,
Anyone use this combiantion