File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11
11
static const uint8_t LED_BUILTIN = SOC_GPIO_PIN_COUNT + 8 ;
12
12
#define BUILTIN_LED LED_BUILTIN // backward compatibility
13
13
#define LED_BUILTIN LED_BUILTIN
14
- #define BOARD_HAS_NEOPIXEL
15
- #define LED_BRIGHTNESS 64
14
+ #define RGB_BUILTIN LED_BUILTIN
15
+ #define RGB_BRIGHTNESS 64
16
16
17
17
#define analogInputToDigitalPin (p ) (((p)<NUM_ANALOG_INPUTS)?(analogChannelToDigitalPin(p)):-1)
18
18
#define digitalPinToInterrupt (p ) (((p)<NUM_DIGITAL_PINS)?(p):-1)
Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ static const uint8_t LED_BUILTIN = SOC_GPIO_PIN_COUNT+18; // GPIO pin for Saola-
12
12
//static const uint8_t LED_BUILTIN = SOC_GPIO_PIN_COUNT+45; // GPIO pin for Kaluga = 45
13
13
#define BUILTIN_LED LED_BUILTIN // backward compatibility
14
14
#define LED_BUILTIN LED_BUILTIN
15
- #define BOARD_HAS_NEOPIXEL
16
- #define LED_BRIGHTNESS 64
15
+ #define RGB_BUILTIN LED_BUILTIN
16
+ #define RGB_BRIGHTNESS 64
17
17
18
18
#define analogInputToDigitalPin (p ) (((p)<20)?(analogChannelToDigitalPin(p)):-1)
19
19
#define digitalPinToInterrupt (p ) (((p)<48)?(p):-1)
Original file line number Diff line number Diff line change 17
17
static const uint8_t LED_BUILTIN = SOC_GPIO_PIN_COUNT + 48 ;
18
18
#define BUILTIN_LED LED_BUILTIN // backward compatibility
19
19
#define LED_BUILTIN LED_BUILTIN
20
- #define BOARD_HAS_NEOPIXEL
21
- #define LED_BRIGHTNESS 64
20
+ #define RGB_BUILTIN LED_BUILTIN
21
+ #define RGB_BRIGHTNESS 64
22
22
23
23
#define analogInputToDigitalPin (p ) (((p)<20)?(analogChannelToDigitalPin(p)):-1)
24
24
#define digitalPinToInterrupt (p ) (((p)<48)?(p):-1)
You can’t perform that action at this time.
0 commit comments