ESPixelStick Firmware
Firmware for the ESPixelStick
Loading...
Searching...
No Matches
GPIO_Defs_ESP8266_Generic.hpp
Go to the documentation of this file.
1#pragma once
2/*
3* GPIO_Defs_ESP8266_Generic.hpp - Output Management class
4*
5* Project: ESPixelStick - An ESP8266 / ESP32 and E1.31 based pixel driver
6* Copyright (c) 2021-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 1 Serial port on ESP8266
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};
28
29// File Manager
30#define SUPPORT_SD
31#define SD_CARD_MISO_PIN gpio_num_t::GPIO_NUM_12
32#define SD_CARD_MOSI_PIN gpio_num_t::GPIO_NUM_13
33#define SD_CARD_CLK_PIN gpio_num_t::GPIO_NUM_14
34#define SD_CARD_CS_PIN gpio_num_t::GPIO_NUM_15
35
36// Output Types
37// Not Finished - #define SUPPORT_OutputProtocol_TLS3001
38// #define SUPPORT_OutputProtocol_APA102 // OM_SPI
39#define SUPPORT_OutputProtocol_DMX // OM_SERIAL
40#define SUPPORT_OutputProtocol_GECE // OM_SERIAL
41#define SUPPORT_OutputProtocol_GS8208 // OM_SERIAL
42#define SUPPORT_OutputProtocol_Renard // OM_SERIAL
43#define SUPPORT_OutputProtocol_Serial // OM_SERIAL
44// #define SUPPORT_OutputProtocol_TM1814 // OM_SERIAL
45// #define SUPPORT_OutputProtocol_UCS1903 // OM_SERIAL
46// #define SUPPORT_OutputProtocol_UCS8903 // OM_SERIAL
47// #define SUPPORT_OutputProtocol_WS2801 // OM_SPI
48#define SUPPORT_OutputProtocol_WS2811 // OM_SERIAL
49#define SUPPORT_OutputProtocol_Relay // OM_RELAY
50// #define SUPPORT_OutputProtocol_Servo_PCA9685 // OM_I2C
51#define SUPPORT_OutputProtocol_FireGod // OM_SERIAL
52// #define SUPPORT_OutputProtocol_GRINCH // OM_SPI
const OM_OutputPortDefinition_t OM_OutputPortDefinitions[]
Definition GPIO_Defs_ESP8266_Generic.hpp:23
@ OM_SERIAL
Definition OutputMgrPortDefs.hpp:75
@ OM_RELAY
Definition OutputMgrPortDefs.hpp:76
uint8_t OM_PortId_t
Definition OutputMgrPortDefs.hpp:71
Definition OutputMgrPortDefs.hpp:90