ESPixelStick Firmware
Firmware for the ESPixelStick
Loading...
Searching...
No Matches
GPIO_Defs_ESP32_S.hpp
Go to the documentation of this file.
1
#pragma once
2
/*
3
* GPIO_Defs_ESP32_S.hpp - Output Management class
4
*
5
* Project: ESPixelStick - An ESP8266 / ESP32 and E1.31 based pixel driver
6
* Copyright (c) 2025-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
#define MAX_NUM_RMT_CHANNELS 4
23
#define DEFAULT_RMT_0_GPIO gpio_num_t::GPIO_NUM_2
24
#define DEFAULT_RMT_1_GPIO gpio_num_t::GPIO_NUM_42
25
#define DEFAULT_RMT_2_GPIO gpio_num_t::GPIO_NUM_41
26
#define DEFAULT_RMT_3_GPIO gpio_num_t::GPIO_NUM_40
27
28
// SPI Output
29
// #define SUPPORT_SPI_OUTPUT
30
// #define DEFAULT_SPI_DATA_GPIO gpio_num_t::GPIO_NUM_26
31
// #define DEFAULT_SPI_CLOCK_GPIO gpio_num_t::GPIO_NUM_33
32
// #define DEFAULT_SPI_CS_GPIO gpio_num_t::GPIO_NUM_32
33
// #define DEFAULT_SPI_DEVICE SPI2_HOST
34
35
#define DEFAULT_I2C_SDA gpio_num_t::GPIO_NUM_17
36
#define DEFAULT_I2C_SCL gpio_num_t::GPIO_NUM_16
37
38
// File Manager
39
#define SUPPORT_SD
40
#define ENABLE_DEDICATED_SPI 1
41
#define SD_CARD_MISO_PIN gpio_num_t::GPIO_NUM_7
42
#define SD_CARD_MOSI_PIN gpio_num_t::GPIO_NUM_6
43
#define SD_CARD_CLK_PIN gpio_num_t::GPIO_NUM_5
44
#define SD_CARD_CS_PIN gpio_num_t::GPIO_NUM_4
45
46
#define DEFAULT_RELAY_GPIO gpio_num_t::GPIO_NUM_15
47
48
// Output Types
49
// Not Finished - #define SUPPORT_OutputType_TLS3001
50
// #define SUPPORT_OutputType_APA102 // SPI
51
#define SUPPORT_OutputType_DMX
// UART / RMT
52
#define SUPPORT_OutputType_GECE
// UART / RMT
53
// #define SUPPORT_OutputType_GRINCH // SPI
54
#define SUPPORT_OutputType_GS8208
// UART / RMT
55
#define SUPPORT_OutputType_Renard
// UART / RMT
56
#define SUPPORT_OutputType_Serial
// UART / RMT
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)
64
#define SUPPORT_OutputType_FireGod
// UART / RMT
include
platforms
GPIO_Defs_ESP32_S.hpp
Generated by
1.12.0