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-2026 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// MAX 8 Serial port on ESP32
24{
25 {OM_PortId_t(0), OM_PortType_t::OM_SERIAL, {gpio_num_t::GPIO_NUM_2}},
26 {OM_PortId_t(0), OM_PortType_t::OM_RELAY, {gpio_num_t::GPIO_NUM_2}},
27 {OM_PortId_t(1), OM_PortType_t::OM_SERIAL, {gpio_num_t::GPIO_NUM_13}},
28 {OM_PortId_t(1), OM_PortType_t::OM_RELAY, {gpio_num_t::GPIO_NUM_13}},
29 {OM_PortId_t(2), OM_PortType_t::OM_SERIAL, {gpio_num_t::GPIO_NUM_12}},
30 {OM_PortId_t(2), OM_PortType_t::OM_RELAY, {gpio_num_t::GPIO_NUM_12}},
31 {OM_PortId_t(3), OM_PortType_t::OM_SERIAL, {gpio_num_t::GPIO_NUM_14}},
32 {OM_PortId_t(3), OM_PortType_t::OM_RELAY, {gpio_num_t::GPIO_NUM_14}},
33 {OM_PortId_t(4), OM_PortType_t::OM_SPI, {gpio_num_t::GPIO_NUM_15, gpio_num_t::GPIO_NUM_25, gpio_num_t::GPIO_NUM_0}},
34 {OM_PortId_t(5), OM_PortType_t::OM_I2C, {gpio_num_t::GPIO_NUM_21, gpio_num_t::GPIO_NUM_22}},
35};
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_OutputProtocol_TLS3001
46#define SUPPORT_OutputProtocol_APA102 // OM_SPI
47#define SUPPORT_OutputProtocol_DMX // OM_SERIAL
48#define SUPPORT_OutputProtocol_GECE // OM_SERIAL
49#define SUPPORT_OutputProtocol_GS8208 // OM_SERIAL
50#define SUPPORT_OutputProtocol_Renard // OM_SERIAL
51#define SUPPORT_OutputProtocol_Serial // OM_SERIAL
52#define SUPPORT_OutputProtocol_TM1814 // OM_SERIAL
53#define SUPPORT_OutputProtocol_UCS1903 // OM_SERIAL
54#define SUPPORT_OutputProtocol_UCS8903 // OM_SERIAL
55#define SUPPORT_OutputProtocol_WS2801 // OM_SPI
56#define SUPPORT_OutputProtocol_WS2811 // OM_SERIAL
57#define SUPPORT_OutputProtocol_Relay // OM_RELAY
58#define SUPPORT_OutputProtocol_Servo_PCA9685 // OM_I2C
59#define SUPPORT_OutputProtocol_FireGod // OM_SERIAL
60#define SUPPORT_OutputProtocol_GRINCH // OM_SPI
const OM_OutputPortDefinition_t OM_OutputPortDefinitions[]
Definition GPIO_Defs_ESP32_Tetra2go.hpp:23
@ OM_I2C
Definition OutputMgrPortDefs.hpp:78
@ OM_SERIAL
Definition OutputMgrPortDefs.hpp:75
@ OM_SPI
Definition OutputMgrPortDefs.hpp:77
@ OM_RELAY
Definition OutputMgrPortDefs.hpp:76
uint8_t OM_PortId_t
Definition OutputMgrPortDefs.hpp:71
Definition OutputMgrPortDefs.hpp:90