File tree Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 77#define DISPLAY_HEIGHT 64
88#define DISPLAY_WIDTH 128
99
10- #define EXTERNAL_NUM_INTERRUPTS 16
11- #define NUM_DIGITAL_PINS 40
12- #define NUM_ANALOG_INPUTS 16
10+ #define EXTERNAL_NUM_INTERRUPTS 46
11+ #define NUM_DIGITAL_PINS 48
12+ #define NUM_ANALOG_INPUTS 20
1313
1414#define analogInputToDigitalPin (p ) (((p)<20)?(analogChannelToDigitalPin(p)):-1)
15- #define digitalPinToInterrupt (p ) (((p)<40 )?(p):-1)
16- #define digitalPinHasPWM (p ) (p < 34 )
15+ #define digitalPinToInterrupt (p ) (((p)<48 )?(p):-1)
16+ #define digitalPinHasPWM (p ) (p < 46 )
1717
1818static const uint8_t LED_BUILTIN = 35 ;
1919#define BUILTIN_LED LED_BUILTIN // backward compatibility
@@ -74,4 +74,6 @@ static const uint8_t RST_OLED = 21;
7474static const uint8_t SCL_OLED = 18 ;
7575static const uint8_t SDA_OLED = 17 ;
7676
77+ static const uint8_t DIO0 = 14 ;
78+
7779#endif /* Pins_Arduino_h */
Original file line number Diff line number Diff line change 55#include "soc/soc_caps.h"
66
77#define WIFI_LoRa_32_V3 true
8+ #define DISPLAY_HEIGHT 64
9+ #define DISPLAY_WIDTH 128
810
911#define USB_VID 0x303a
1012#define USB_PID 0x1001
@@ -79,4 +81,8 @@ static const uint8_t RST_OLED = 21;
7981static const uint8_t SCL_OLED = 18 ;
8082static const uint8_t SDA_OLED = 17 ;
8183
84+ static const uint8_t RST_LoRa = 12 ;
85+ static const uint8_t BUSY_LoRa = 13 ;
86+ static const uint8_t DIO0 = 14 ;
87+
8288#endif /* Pins_Arduino_h */
You can’t perform that action at this time.
0 commit comments