|
5 | 5 | #include "soc/soc_caps.h"
|
6 | 6 |
|
7 | 7 | #define USB_VID 0x303A
|
8 |
| -#define USB_PID 0x1001 //set uniq PID |
| 8 | +#define USB_PID 0x8299 |
9 | 9 | #define USB_MANUFACTURER "RFtek Electronics"
|
10 |
| -#define USB_PRODUCT "CEZERIO DEV ESP32-C6" |
| 10 | +#define USB_PRODUCT "cezerio dev ESP32C6" |
11 | 11 | #define USB_SERIAL ""
|
12 | 12 |
|
13 |
| -#define PIN_RGB_LED 8 |
| 13 | +#define PIN_RGB_LED 3 |
14 | 14 | // BUILTIN_LED can be used in new Arduino API digitalWrite() like in Blink.ino
|
15 | 15 | static const uint8_t LED_BUILTIN = SOC_GPIO_PIN_COUNT + PIN_RGB_LED;
|
16 | 16 | #define BUILTIN_LED LED_BUILTIN // backward compatibility
|
17 | 17 | #define LED_BUILTIN LED_BUILTIN // allow testing #ifdef LED_BUILTIN
|
18 | 18 | // RGB_BUILTIN and RGB_BRIGHTNESS can be used in new Arduino API rgbLedWrite()
|
19 | 19 | #define RGB_BUILTIN LED_BUILTIN
|
| 20 | +#define RGBLED LED_BUILTIN |
20 | 21 | #define RGB_BRIGHTNESS 64
|
21 | 22 |
|
22 | 23 | static const uint8_t BUT_BUILTIN = 9;
|
23 | 24 | #define BUILTIN_BUT BUT_BUILTIN // backward compatibility
|
24 | 25 | #define BUT_BUILTIN BUT_BUILTIN // allow testing #ifdef BUT_BUILTIN
|
| 26 | +#define BOOT BUT_BUILTIN |
25 | 27 |
|
26 | 28 | static const uint8_t TX = 16;
|
27 | 29 | static const uint8_t RX = 17;
|
28 | 30 |
|
29 |
| -static const uint8_t SDA = 19; |
30 |
| -static const uint8_t SCL = 18; |
| 31 | +static const uint8_t SDA = 8; |
| 32 | +static const uint8_t SCL = 7; |
31 | 33 |
|
32 |
| -static const uint8_t SS = 0; |
| 34 | +static const uint8_t SS = 14; |
33 | 35 | static const uint8_t MOSI = 22;
|
34 | 36 | static const uint8_t MISO = 23;
|
35 | 37 | static const uint8_t SCK = 21;
|
36 | 38 |
|
37 |
| -static const uint8_t A0 = 1; |
38 |
| -static const uint8_t A1 = 4; |
39 |
| -static const uint8_t A2 = 6; |
40 |
| -static const uint8_t A3 = 5; |
41 |
| -static const uint8_t A4 = 3; |
42 |
| -static const uint8_t A5 = 2; |
43 |
| -static const uint8_t A6 = 0; |
| 39 | +static const uint8_t A0 = 0; |
| 40 | +static const uint8_t A1 = 1; |
| 41 | +static const uint8_t A2 = 2; |
| 42 | +static const uint8_t A3 = 3; |
| 43 | +static const uint8_t A4 = 4; |
| 44 | +static const uint8_t A5 = 5; |
| 45 | +static const uint8_t A6 = 6; |
| 46 | + |
| 47 | +static const uint8_t MATRIX = 18; |
| 48 | + |
| 49 | +static const uint8_t IMUSD = 8; |
| 50 | +static const uint8_t IMUSC = 7; |
44 | 51 |
|
45 | 52 | #endif /* Pins_Arduino_h */
|
0 commit comments