33
44#include <stdint.h>
55
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
1111
1212// User LED
1313#define LED_BUILTIN 46
14- #define BUILTIN_LED LED_BUILTIN // backward compatibility
14+ #define BUILTIN_LED LED_BUILTIN // backward compatibility
1515
1616// Neopixel
1717#define PIN_NEOPIXEL 47
1818// 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)
2020#define RGB_BRIGHTNESS 64
21- #define NEOPIXEL_NUM 1 // number of neopixels
21+ #define NEOPIXEL_NUM 1 // number of neopixels
2222
2323static const uint8_t KEY_BUILTIN = 0 ;
2424
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 ;
2929
30- static const uint8_t SD_CS = 42 ;
30+ static const uint8_t SD_CS = 42 ;
3131static const uint8_t SD_CHIP_SELECT = 42 ;
3232
3333static const uint8_t TX = 43 ;
@@ -41,10 +41,10 @@ static const uint8_t RX2 = 41;
4141static const uint8_t SDA = 33 ;
4242static const uint8_t SCL = 34 ;
4343
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 ;
4848
4949static const uint8_t DAC1 = 17 ;
5050static const uint8_t DAC2 = 18 ;
@@ -114,24 +114,24 @@ static const uint8_t D40 = 40;
114114static const uint8_t D41 = 41 ;
115115
116116// 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
136136
137137#endif /* Pins_Arduino_h */
0 commit comments