lopy.h + lopy4.h DIOs edited
This commit is contained in:
parent
d5ad20989a
commit
0d9512b4b5
@ -11,8 +11,8 @@
|
|||||||
#define PIN_SPI_SCK GPIO_NUM_5
|
#define PIN_SPI_SCK GPIO_NUM_5
|
||||||
#define RST GPIO_NUM_18
|
#define RST GPIO_NUM_18
|
||||||
#define DIO0 GPIO_NUM_23 // LoRa IRQ
|
#define DIO0 GPIO_NUM_23 // LoRa IRQ
|
||||||
#define DIO1 GPIO_NUM_23 // workaround
|
#define DIO1 GPIO_NUM_23 // Pin tied via diode to DIO0
|
||||||
#define DIO2 LMIC_UNUSED_PIN
|
#define DIO2 GPIO_NUM_23 // Pin tied via diode to DIO0
|
||||||
|
|
||||||
// select WIFI antenna (internal = onboard / external = u.fl socket)
|
// select WIFI antenna (internal = onboard / external = u.fl socket)
|
||||||
#define HAS_ANTENNA_SWITCH 16 // pin for switching wifi antenna
|
#define HAS_ANTENNA_SWITCH 16 // pin for switching wifi antenna
|
||||||
|
@ -12,8 +12,8 @@
|
|||||||
#define PIN_SPI_SCK GPIO_NUM_5
|
#define PIN_SPI_SCK GPIO_NUM_5
|
||||||
#define RST LMIC_UNUSED_PIN
|
#define RST LMIC_UNUSED_PIN
|
||||||
#define DIO0 GPIO_NUM_23 // LoRa IRQ
|
#define DIO0 GPIO_NUM_23 // LoRa IRQ
|
||||||
#define DIO1 GPIO_NUM_23 // workaround
|
#define DIO1 GPIO_NUM_23 // Pin tied via diode to DIO0
|
||||||
#define DIO2 LMIC_UNUSED_PIN
|
#define DIO1 GPIO_NUM_23 // Pin tied via diode to DIO0
|
||||||
|
|
||||||
// select WIFI antenna (internal = onboard / external = u.fl socket)
|
// select WIFI antenna (internal = onboard / external = u.fl socket)
|
||||||
#define HAS_ANTENNA_SWITCH 21 // pin for switching wifi antenna
|
#define HAS_ANTENNA_SWITCH 21 // pin for switching wifi antenna
|
||||||
|
Loading…
Reference in New Issue
Block a user