spislave.cpp: small fixes
This commit is contained in:
1 parent
577cdc9497
commit
7ae82d1881
3 files changed
+13
-8
No files matched your search
+1
-1
@@ -11,7 +11,7 @@
|
||||
#define SPI_MOSI GPIO_NUM_23
|
||||
#define SPI_MISO GPIO_NUM_19
|
||||
#define SPI_SCLK GPIO_NUM_18
|
||||
#define SPI_CS GPIO_NUM_5
|
||||
#define SPI_CS GPIO_NUM_5
|
||||
|
||||
#define CFG_sx1276_radio 1 // select LoRa chip
|
||||
//#define CFG_sx1272_radio 1 // select LoRa chip
|
||||
|
||||
+4
-4
@@ -9,10 +9,10 @@
|
||||
|
||||
#define HAS_SPI 1 // comment out if device shall not send data via SPI
|
||||
// pin definitions for local wired SPI slave interface
|
||||
#define SPI_MOSI (22)
|
||||
#define SPI_MISO (33)
|
||||
#define SPI_SCLK (26)
|
||||
#define SPI_CS (36)
|
||||
#define SPI_MOSI GPIO_NUM_22
|
||||
#define SPI_MISO GPIO_NUM_33
|
||||
#define SPI_SCLK GPIO_NUM_26
|
||||
#define SPI_CS GPIO_NUM_36
|
||||
|
||||
#define CFG_sx1276_radio 1
|
||||
//#define HAS_LED NOT_A_PIN // LoPy4 has no on board mono LED, we use on board RGB LED
|
||||
|
||||
Reference in new issue
Block a user