diff --git a/src/hal/lopy4.h b/src/hal/lopy4.h index 6b93baad..e98408b1 100644 --- a/src/hal/lopy4.h +++ b/src/hal/lopy4.h @@ -6,12 +6,13 @@ // Hardware related definitions for Pycom LoPy4 Board #define HAS_LORA 1 // comment out if device shall not send data via LoRa + #define HAS_SPI 1 // comment out if device shall not send data via SPI -// pin definitions for SPI slave interface -#define SPI_MOSI GPIO_NUM_22 -#define SPI_MISO GPIO_NUM_33 -#define SPI_SCLK GPIO_NUM_26 -#define SPI_CS GPIO_NUM_36 +// 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 CFG_sx1276_radio 1 //#define HAS_LED NOT_A_PIN // LoPy4 has no on board mono LED, we use on board RGB LED