File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed
variants/cytron_maker_feather_aiot_s3 Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change 22#define Pins_Arduino_h
33
44#include <stdint.h>
5+ #include "soc/soc_caps.h"
56
67#define USB_VID 0x303A
78#define USB_PID 0x80F8
1819#define digitalPinHasPWM (p ) (p < 46)
1920
2021
21- #define LED 2 // Status LED.
22- #define LED_BUILTIN 2
2322
24- #define RGB 46 // RGB LED.
25- #define RGB_BUILTIN 46
26- #define NEOPIXEL 46
23+ static const uint8_t LED_BUILTIN = 2 ; // Status LED.
24+ static const uint8_t RGB_BUILTIN = SOC_GPIO_PIN_COUNT + 46 ; // RGB LED.
25+
26+ #define BUILTIN_LED LED_BUILTIN // Backward compatibility
27+ #define LED_BUILTIN LED_BUILTIN
28+ #define LED LED_BUILTIN
29+ #define RGB_BUILTIN RGB_BUILTIN
30+ #define RGB RGB_BUILTIN
31+ #define NEOPIXEL RGB_BUILTIN
32+ #define RGB_BRIGHTNESS 65
33+
34+
2735
2836#define VP_EN 11 // V Peripheral Enable.
2937#define BUZZER 12 // Piezo Buzzer.
You can’t perform that action at this time.
0 commit comments