File tree 1 file changed +13
-5
lines changed
variants/cytron_maker_feather_aiot_s3
1 file changed +13
-5
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 0x80F8
18
19
#define digitalPinHasPWM (p ) (p < 46)
19
20
20
21
21
- #define LED 2 // Status LED.
22
- #define LED_BUILTIN 2
23
22
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
+
27
35
28
36
#define VP_EN 11 // V Peripheral Enable.
29
37
#define BUZZER 12 // Piezo Buzzer.
You can’t perform that action at this time.
0 commit comments