lopy4.h sanitized

This commit is contained in:
Klaus K Wilting 2018-11-04 12:25:50 +01:00
parent 02b2bf2d4f
commit e8afc10a93

View File

@ -6,12 +6,13 @@
// Hardware related definitions for Pycom LoPy4 Board // Hardware related definitions for Pycom LoPy4 Board
#define HAS_LORA 1 // comment out if device shall not send data via LoRa #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 #define HAS_SPI 1 // comment out if device shall not send data via SPI
// pin definitions for SPI slave interface // pin definitions for local wired SPI slave interface
#define SPI_MOSI GPIO_NUM_22 #define SPI_MOSI (22)
#define SPI_MISO GPIO_NUM_33 #define SPI_MISO (33)
#define SPI_SCLK GPIO_NUM_26 #define SPI_SCLK (26)
#define SPI_CS GPIO_NUM_36 #define SPI_CS (36)
#define CFG_sx1276_radio 1 #define CFG_sx1276_radio 1
//#define HAS_LED NOT_A_PIN // LoPy4 has no on board mono LED, we use on board RGB LED //#define HAS_LED NOT_A_PIN // LoPy4 has no on board mono LED, we use on board RGB LED