File tree 2 files changed +13
-5
lines changed
2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 7
7
#define DISPLAY_HEIGHT 64
8
8
#define DISPLAY_WIDTH 128
9
9
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
13
13
14
14
#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 )
17
17
18
18
static const uint8_t LED_BUILTIN = 35 ;
19
19
#define BUILTIN_LED LED_BUILTIN // backward compatibility
@@ -74,4 +74,6 @@ static const uint8_t RST_OLED = 21;
74
74
static const uint8_t SCL_OLED = 18 ;
75
75
static const uint8_t SDA_OLED = 17 ;
76
76
77
+ static const uint8_t DIO0 = 14 ;
78
+
77
79
#endif /* Pins_Arduino_h */
Original file line number Diff line number Diff line change 5
5
#include "soc/soc_caps.h"
6
6
7
7
#define WIFI_LoRa_32_V3 true
8
+ #define DISPLAY_HEIGHT 64
9
+ #define DISPLAY_WIDTH 128
8
10
9
11
#define USB_VID 0x303a
10
12
#define USB_PID 0x1001
@@ -79,4 +81,8 @@ static const uint8_t RST_OLED = 21;
79
81
static const uint8_t SCL_OLED = 18 ;
80
82
static const uint8_t SDA_OLED = 17 ;
81
83
84
+ static const uint8_t RST_LoRa = 12 ;
85
+ static const uint8_t BUSY_LoRa = 13 ;
86
+ static const uint8_t DIO0 = 14 ;
87
+
82
88
#endif /* Pins_Arduino_h */
You can’t perform that action at this time.
0 commit comments