ESPixelStick Firmware
Firmware for the ESPixelStick
Loading...
Searching...
No Matches
GPIO_Defs_ESP32_Tetra2go.hpp
Go to the documentation of this file.
1#pragma once
2/*
3* GPIO_Defs_ESP32_Tetra2go.hpp - Output Management class
4*
5* Project: ESPixelStick - An ESP8266 / ESP32 and E1.31 based pixel driver
6* Copyright (c) 2024 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_RMT_0_GPIO gpio_num_t::GPIO_NUM_2
23#define DEFAULT_RMT_1_GPIO gpio_num_t::GPIO_NUM_13
24#define DEFAULT_RMT_2_GPIO gpio_num_t::GPIO_NUM_12
25#define DEFAULT_RMT_3_GPIO gpio_num_t::GPIO_NUM_14
26
27// SPI Output
28#define SUPPORT_SPI_OUTPUT
29#define DEFAULT_SPI_DATA_GPIO gpio_num_t::GPIO_NUM_15
30#define DEFAULT_SPI_CLOCK_GPIO gpio_num_t::GPIO_NUM_25
31#define DEFAULT_SPI_CS_GPIO gpio_num_t::GPIO_NUM_0
32#define DEFAULT_SPI_DEVICE VSPI_HOST
33
34#define DEFAULT_I2C_SDA gpio_num_t::GPIO_NUM_21
35#define DEFAULT_I2C_SCL gpio_num_t::GPIO_NUM_22
36
37// File Manager
38#define SUPPORT_SD
39#define SD_CARD_MISO_PIN gpio_num_t::GPIO_NUM_19
40#define SD_CARD_MOSI_PIN gpio_num_t::GPIO_NUM_23
41#define SD_CARD_CLK_PIN gpio_num_t::GPIO_NUM_18
42#define SD_CARD_CS_PIN gpio_num_t::GPIO_NUM_5
43
44// Output Types
45// Not Finished - #define SUPPORT_OutputType_TLS3001
46#define SUPPORT_OutputType_APA102 // SPI
47#define SUPPORT_OutputType_DMX // UART
48#define SUPPORT_OutputType_GECE // UART
49#define SUPPORT_OutputType_GS8208 // UART / RMT
50#define SUPPORT_OutputType_GRINCH // SPI
51#define SUPPORT_OutputType_Renard // UART
52#define SUPPORT_OutputType_Serial // UART
53#define SUPPORT_OutputType_TM1814 // UART / RMT
54#define SUPPORT_OutputType_UCS1903 // UART / RMT
55#define SUPPORT_OutputType_UCS8903 // UART / RMT
56#define SUPPORT_OutputType_WS2801 // SPI
57#define SUPPORT_OutputType_WS2811 // UART / RMT
58#define SUPPORT_OutputType_Relay // GPIO
59#define SUPPORT_OutputType_Servo_PCA9685 // I2C (default pins)