|
4 | 4 | #include <stdint.h>
|
5 | 5 | #include "soc/soc_caps.h"
|
6 | 6 |
|
7 |
| -#define USB_VID 0x303A |
8 |
| -#define USB_PID 0x81FB |
| 7 | +#define USB_VID 0x303A |
| 8 | +#define USB_PID 0x81FB |
9 | 9 | #define USB_MANUFACTURER "Unexpected Maker"
|
10 |
| -#define USB_PRODUCT "FeatherS3 Neo" |
11 |
| -#define USB_SERIAL "" |
| 10 | +#define USB_PRODUCT "FeatherS3 Neo" |
| 11 | +#define USB_SERIAL "" |
12 | 12 |
|
13 | 13 | static const uint8_t TX = 43;
|
14 | 14 | static const uint8_t RX = 44;
|
15 | 15 |
|
16 | 16 | static const uint8_t SDA = 8;
|
17 | 17 | static const uint8_t SCL = 9;
|
18 | 18 |
|
19 |
| -static const uint8_t SS = 5; |
20 |
| -static const uint8_t MOSI = 35; |
21 |
| -static const uint8_t MISO = 37; |
22 |
| -static const uint8_t SDO = 35; |
23 |
| -static const uint8_t SDI = 37; |
24 |
| -static const uint8_t SCK = 36; |
| 19 | +static const uint8_t SS = 5; |
| 20 | +static const uint8_t MOSI = 35; |
| 21 | +static const uint8_t MISO = 37; |
| 22 | +static const uint8_t SDO = 35; |
| 23 | +static const uint8_t SDI = 37; |
| 24 | +static const uint8_t SCK = 36; |
25 | 25 |
|
26 | 26 | static const uint8_t A0 = 17;
|
27 | 27 | static const uint8_t A1 = 18;
|
@@ -52,13 +52,13 @@ static const uint8_t T14 = 14;
|
52 | 52 | static const uint8_t VBAT_SENSE = 2;
|
53 | 53 | static const uint8_t VBUS_SENSE = 15;
|
54 | 54 |
|
55 |
| -// User LED |
| 55 | +// User LED |
56 | 56 | #define LED_BUILTIN 13
|
57 |
| -#define BUILTIN_LED LED_BUILTIN // backward compatibility |
| 57 | +#define BUILTIN_LED LED_BUILTIN // backward compatibility |
58 | 58 |
|
59 | 59 | static const uint8_t RGB_DATA = 40;
|
60 | 60 | // RGB_BUILTIN and RGB_BRIGHTNESS can be used in new Arduino API neopixelWrite()
|
61 |
| -#define RGB_BUILTIN (RGB_DATA + SOC_GPIO_PIN_COUNT) |
| 61 | +#define RGB_BUILTIN (RGB_DATA + SOC_GPIO_PIN_COUNT) |
62 | 62 | #define RGB_BRIGHTNESS 64
|
63 | 63 |
|
64 | 64 | static const uint8_t RGB_PWR = 39;
|
|
0 commit comments