Skip to content

Commit

Permalink
Add LORA_CUSTOM_PINS
Browse files Browse the repository at this point in the history
  • Loading branch information
nikito7 authored Jul 11, 2023
1 parent 954e077 commit 8f54009
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion main/config_LORA.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,15 @@ extern void MQTTtoLORA(char* topicOri, JsonObject& RFdata);
#define repeatLORAwMQTT false // do we repeat a received signal by using MQTT with LORA gateway

/*-------------------PIN DEFINITIONS----------------------*/

#ifndef LORA_CUSTOM_PINS
//TTGO LORA BOARD ESP32 PIN DEFINITION
#define LORA_SCK 5 // GPIO5 -- SX1278's SCK
#define LORA_MISO 19 // GPIO19 -- SX1278's MISO
#define LORA_MOSI 27 // GPIO27 -- SX1278's MOSI
#define LORA_SS 18 // GPIO18 -- SX1278's CS
#define LORA_RST 14 // GPIO14 -- SX1278's RESET
#define LORA_DI0 26 // GPIO26 -- SX1278's IRQ(Interrupt Request)
#endif

#endif
#endif

0 comments on commit 8f54009

Please sign in to comment.