110110#define SX126X_RF_VC1 _PINNUM(0, 27)
111111#define SX126X_RF_VC2 _PINNUM(0, 33)
112112
113+ #define P_LORA_DIO_1 SX126X_DIO1
114+ #define P_LORA_NSS LORA_CS
115+ #define P_LORA_RESET SX126X_RESET
116+ #define P_LORA_BUSY SX126X_BUSY
117+ #define P_LORA_SCLK PIN_SPI_SCK
118+ #define P_LORA_MISO PIN_SPI_MISO
119+ #define P_LORA_MOSI PIN_SPI_MOSI
120+
113121////////////////////////////////////////////////////////////////////////////////
114122// SPI1
115123
116- #define PIN_SPI1_MISO (-1)
124+ #define PIN_SPI1_MISO (-1) // Not used for Display
117125#define PIN_SPI1_MOSI _PINNUM(0, 20)
118126#define PIN_SPI1_SCK _PINNUM(0, 19)
119127
@@ -125,15 +133,15 @@ extern const int SCK;
125133////////////////////////////////////////////////////////////////////////////////
126134// Display
127135
128- // #define DISP_MISO (-1)
136+ // #define DISP_MISO (-1) // Not used for Display
129137#define DISP_MOSI _PINNUM(0, 20)
130138#define DISP_SCLK _PINNUM(0, 19)
131139#define DISP_CS _PINNUM(0, 22)
132140#define DISP_DC _PINNUM(0, 21)
133141#define DISP_RST _PINNUM(0, 28)
134142#define DISP_BUSY _PINNUM(0, 3)
135143#define DISP_POWER _PINNUM(1, 12)
136- // #define DISP_BACKLIGHT (-1)
144+ // #define DISP_BACKLIGHT (-1) // Display has no backlight
137145
138146#define PIN_DISPLAY_CS DISP_CS
139147#define PIN_DISPLAY_DC DISP_DC
0 commit comments