3
3
4
4
#include <stdint.h>
5
5
6
- #define USB_VID 0x303A
7
- #define USB_PID 0x80DB
8
- #define USB_MANUFACTURER "CircuitART"
9
- #define USB_PRODUCT "ZeroS3"
10
- #define USB_SERIAL "" // Empty string for MAC adddress
6
+ #define USB_VID 0x303A
7
+ #define USB_PID 0x80DB
8
+ #define USB_MANUFACTURER "CircuitART"
9
+ #define USB_PRODUCT "ZeroS3"
10
+ #define USB_SERIAL "" // Empty string for MAC adddress
11
11
12
12
// User LED
13
13
#define LED_BUILTIN 46
14
- #define BUILTIN_LED LED_BUILTIN // backward compatibility
14
+ #define BUILTIN_LED LED_BUILTIN // backward compatibility
15
15
16
16
// Neopixel
17
17
#define PIN_NEOPIXEL 47
18
18
// RGB_BUILTIN and RGB_BRIGHTNESS can be used in new Arduino API neopixelWrite() and digitalWrite() for blinking
19
- #define RGB_BUILTIN (PIN_NEOPIXEL+ SOC_GPIO_PIN_COUNT)
19
+ #define RGB_BUILTIN (PIN_NEOPIXEL + SOC_GPIO_PIN_COUNT)
20
20
#define RGB_BRIGHTNESS 64
21
- #define NEOPIXEL_NUM 1 // number of neopixels
21
+ #define NEOPIXEL_NUM 1 // number of neopixels
22
22
23
23
static const uint8_t KEY_BUILTIN = 0 ;
24
24
25
- static const uint8_t TFT_DC = 5 ;
26
- static const uint8_t TFT_CS = 39 ;
27
- static const uint8_t TFT_RST = 40 ;
28
- static const uint8_t TFT_RESET = 40 ;
25
+ static const uint8_t TFT_DC = 5 ;
26
+ static const uint8_t TFT_CS = 39 ;
27
+ static const uint8_t TFT_RST = 40 ;
28
+ static const uint8_t TFT_RESET = 40 ;
29
29
30
- static const uint8_t SD_CS = 42 ;
30
+ static const uint8_t SD_CS = 42 ;
31
31
static const uint8_t SD_CHIP_SELECT = 42 ;
32
32
33
33
static const uint8_t TX = 43 ;
@@ -41,10 +41,10 @@ static const uint8_t RX2 = 41;
41
41
static const uint8_t SDA = 33 ;
42
42
static const uint8_t SCL = 34 ;
43
43
44
- static const uint8_t SS = 39 ;
45
- static const uint8_t MOSI = 35 ;
46
- static const uint8_t SCK = 36 ;
47
- static const uint8_t MISO = 37 ;
44
+ static const uint8_t SS = 39 ;
45
+ static const uint8_t MOSI = 35 ;
46
+ static const uint8_t SCK = 36 ;
47
+ static const uint8_t MISO = 37 ;
48
48
49
49
static const uint8_t DAC1 = 17 ;
50
50
static const uint8_t DAC2 = 18 ;
@@ -114,24 +114,24 @@ static const uint8_t D40 = 40;
114
114
static const uint8_t D41 = 41 ;
115
115
116
116
// Camera
117
- #define TFT_CAM_POWER 21
118
-
119
- #define PWDN_GPIO_NUM -1 // connected through expander
120
- #define RESET_GPIO_NUM -1 // connected through expander
121
- #define XCLK_GPIO_NUM 15
122
- #define SIOD_GPIO_NUM SDA
123
- #define SIOC_GPIO_NUM SCL
124
-
125
- #define Y9_GPIO_NUM 14 //16
126
- #define Y8_GPIO_NUM 13 //14
127
- #define Y7_GPIO_NUM 11 //13
128
- #define Y6_GPIO_NUM 10
129
- #define Y5_GPIO_NUM 9 //8
130
- #define Y4_GPIO_NUM 8 //6
131
- #define Y3_GPIO_NUM 7
132
- #define Y2_GPIO_NUM 6 //9
133
- #define VSYNC_GPIO_NUM 38
134
- #define HREF_GPIO_NUM 48
135
- #define PCLK_GPIO_NUM 16 //11
117
+ #define TFT_CAM_POWER 21
118
+
119
+ #define PWDN_GPIO_NUM -1 // connected through expander
120
+ #define RESET_GPIO_NUM -1 // connected through expander
121
+ #define XCLK_GPIO_NUM 15
122
+ #define SIOD_GPIO_NUM SDA
123
+ #define SIOC_GPIO_NUM SCL
124
+
125
+ #define Y9_GPIO_NUM 14 //16
126
+ #define Y8_GPIO_NUM 13 //14
127
+ #define Y7_GPIO_NUM 11 //13
128
+ #define Y6_GPIO_NUM 10
129
+ #define Y5_GPIO_NUM 9 //8
130
+ #define Y4_GPIO_NUM 8 //6
131
+ #define Y3_GPIO_NUM 7
132
+ #define Y2_GPIO_NUM 6 //9
133
+ #define VSYNC_GPIO_NUM 38
134
+ #define HREF_GPIO_NUM 48
135
+ #define PCLK_GPIO_NUM 16 //11
136
136
137
137
#endif /* Pins_Arduino_h */
0 commit comments