mirror of
https://github.com/timmbogner/Farm-Data-Relay-System
synced 2024-11-10 07:10:42 +00:00
fixes
This commit is contained in:
parent
552812350f
commit
e6ca95a429
@ -29,16 +29,12 @@
|
||||
//#define USE_LORA
|
||||
//#define USE_WIFI //Used only for MQTT gateway
|
||||
|
||||
#define RADIOLIB_MODULE SX1276
|
||||
|
||||
// Neighboring gateway addresses
|
||||
#define ESPNOW_NEIGHBOR_1 0x0E // ESPNOW1 Address
|
||||
#define ESPNOW_NEIGHBOR_2 0x0F // ESPNOW2 Address
|
||||
#define LORA_NEIGHBOR_1 0x02 // LoRa1 Address
|
||||
#define LORA_NEIGHBOR_2 0x0F // LoRa2 Address
|
||||
|
||||
|
||||
|
||||
//Pins for UART data interface (ESP32 only)
|
||||
#define RXD2 14
|
||||
#define TXD2 15
|
||||
|
@ -236,7 +236,7 @@ void handleLoRa(){
|
||||
}
|
||||
|
||||
|
||||
begin_lora() {
|
||||
void begin_lora() {
|
||||
// #ifdef ESP32
|
||||
// SPI.begin(SPI_SCK, SPI_MISO, SPI_MOSI);
|
||||
// #endif
|
||||
|
Loading…
Reference in New Issue
Block a user