Skip to content

Commit 494d600

Browse files
committed
Create pins_arduino.h
1 parent 7018cd1 commit 494d600

File tree

1 file changed

+62
-0
lines changed

1 file changed

+62
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
#ifndef Pins_Arduino_h
2+
#define Pins_Arduino_h
3+
4+
#include <stdint.h>
5+
6+
//#define USB_VID 0x303A
7+
//#define USB_PID 0x1001
8+
//#define USB_MANUFACTURER "Sparkfun"
9+
//#define USB_PRODUCT "ESP32-S3 Thing Plus"
10+
#define USB_SERIAL ""
11+
12+
#define LED_PIN 46 //Pin 46 on Thing Plus C S3 is connected to WS2812 LED
13+
#define COLOR_ORDER GRB
14+
#define CHIPSET WS2812
15+
#define NUM_LEDS 1
16+
#define BRIGHTNESS 25
17+
#define LED_BUILTIN LED_PIN
18+
#define BUILTIN_LED LED_BUILTIN // backward compatibility
19+
20+
static const uint8_t LED = LED_PIN;
21+
static const uint8_t STAT_LED = 0;
22+
static const uint8_t BTN = 0;
23+
static const uint8_t Q_EN = 45;
24+
25+
static const uint8_t TX = 43;
26+
static const uint8_t RX = 44;
27+
28+
static const uint8_t MISO = 13; //POCI
29+
static const uint8_t MOSI = 11; //PICO
30+
static const uint8_t SCK = 12;
31+
32+
static const uint8_t SCL = 9;
33+
static const uint8_t SDA = 8;
34+
35+
static const uint8_t A0 = 10;
36+
static const uint8_t A1 = 14;
37+
static const uint8_t A2 = 15;
38+
static const uint8_t A3 = 16;
39+
static const uint8_t A4 = 17;
40+
static const uint8_t A5 = 18;
41+
42+
static const uint8_t GPIO0 = 21;
43+
static const uint8_t GPIO1 = 7;
44+
static const uint8_t GPIO2 = 6;
45+
static const uint8_t GPIO3 = 5;
46+
static const uint8_t GPIO4 = 4;
47+
static const uint8_t GPIO5 = 2;
48+
static const uint8_t GPIO6 = 1;
49+
50+
static const uint8_t FREEBIE = 42;
51+
52+
static const uint8_t SDIO_DET = 48;
53+
static const uint8_t SDIO0 = 39;
54+
static const uint8_t SDIO1 = 40;
55+
static const uint8_t SDIO2 = 47;
56+
static const uint8_t SDIO3 = 33;
57+
static const uint8_t SDIO_CLK = 38;
58+
static const uint8_t SDIO_CMD = 34;
59+
60+
61+
62+
#endif /* Pins_Arduino_h */

0 commit comments

Comments
 (0)