File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 2
2
#define Pins_Arduino_h
3
3
4
4
#include <stdint.h>
5
+ #include "soc/soc_caps.h"
5
6
6
7
#define USB_VID 0x303A
7
8
#define USB_PID 0x8144
17
18
#define digitalPinToInterrupt (p ) (((p)<48)?(p):-1)
18
19
#define digitalPinHasPWM (p ) (p < 46)
19
20
20
- static const uint8_t LED_BUILTIN = 33 ;
21
+ static const uint8_t LED_BUILTIN = SOC_GPIO_PIN_COUNT + 33 ;
21
22
#define BUILTIN_LED LED_BUILTIN
22
23
#define LED_BUILTIN LED_BUILTIN
23
24
#define RGB_BUILTIN LED_BUILTIN
@@ -80,6 +81,7 @@ static const uint8_t PWM1 = 41;
80
81
static const uint8_t DAC0 = 17 ;
81
82
static const uint8_t DAC1 = 18 ;
82
83
84
+ /*
83
85
#define SD SDA
84
86
#define SC SCL
85
87
@@ -89,5 +91,6 @@ static const uint8_t DAC1 = 18;
89
91
90
92
#define DA0 DAC0
91
93
#define DA1 DAC1
94
+ */
92
95
93
96
#endif /* Pins_Arduino_h */
You can’t perform that action at this time.
0 commit comments