ESPixelStick Firmware
Firmware for the ESPixelStick
Loading...
Searching...
No Matches
GPIO_Defs_ESP32_Solo2go.hpp
Go to the documentation of this file.
1#pragma once
2/*
3* GPIO_Defs_ESP32_Solo2go.hpp - Output Management class
4*
5* Project: ESPixelStick - An ESP8266 / ESP32 and E1.31 based pixel driver
6* Copyright (c) 2025 Shelby Merrick
7* http://www.forkineye.com
8*
9* This program is provided free for you to use in any way that you wish,
10* subject to the laws and regulations where you are using it. Due diligence
11* is strongly suggested before using this code. Please give credit where due.
12*
13* The Author makes no warranty of any kind, express or implied, with regard
14* to this program or the documentation contained in this document. The
15* Author shall not be liable in any event for incidental or consequential
16* damages in connection with, or arising out of, the furnishing, performance
17* or use of these programs.
18*
19*/
20
21//Output Manager
22#define DEFAULT_UART_0_GPIO gpio_num_t::GPIO_NUM_2
23
24// SPI Output
25#define SUPPORT_SPI_OUTPUT
26#define DEFAULT_SPI_DATA_GPIO gpio_num_t::GPIO_NUM_25
27#define DEFAULT_SPI_CLOCK_GPIO gpio_num_t::GPIO_NUM_26
28#define DEFAULT_SPI_CS_GPIO gpio_num_t::GPIO_NUM_27
29#define DEFAULT_SPI_DEVICE VSPI_HOST
30
31#define DEFAULT_I2C_SDA gpio_num_t::GPIO_NUM_21
32#define DEFAULT_I2C_SCL gpio_num_t::GPIO_NUM_22
33
34// File Manager
35#define SUPPORT_SD
36#define SD_CARD_MISO_PIN gpio_num_t::GPIO_NUM_19
37#define SD_CARD_MOSI_PIN gpio_num_t::GPIO_NUM_23
38#define SD_CARD_CLK_PIN gpio_num_t::GPIO_NUM_18
39#define SD_CARD_CS_PIN gpio_num_t::GPIO_NUM_5
40
41// Temperature Sensor
42#define SUPPORT_SENSOR_DS18B20
43#define ONEWIRE_PIN gpio_num_t::GPIO_NUM_4
44
45//Power relay output
46#define DEFAULT_RELAY_GPIO gpio_num_t::GPIO_NUM_17
47
48// Output Types
49// Not Finished - #define SUPPORT_OutputType_TLS3001
50#define SUPPORT_OutputType_APA102 // SPI
51#define SUPPORT_OutputType_DMX // UART
52#define SUPPORT_OutputType_GECE // UART
53#define SUPPORT_OutputType_GS8208 // UART / RMT
54#define SUPPORT_OutputType_GRINCH // SPI
55#define SUPPORT_OutputType_Renard // UART
56#define SUPPORT_OutputType_Serial // UART
57#define SUPPORT_OutputType_TM1814 // UART / RMT
58#define SUPPORT_OutputType_UCS1903 // UART / RMT
59#define SUPPORT_OutputType_UCS8903 // UART / RMT
60#define SUPPORT_OutputType_WS2801 // SPI
61#define SUPPORT_OutputType_WS2811 // UART / RMT
62#define SUPPORT_OutputType_Relay // GPIO
63#define SUPPORT_OutputType_Servo_PCA9685 // I2C (default pins)