ESPixelStick Firmware
Firmware for the ESPixelStick
Loading...
Searching...
No Matches
GPIO_Defs_ESP32_Octa2go.hpp
Go to the documentation of this file.
1#pragma once
2/*
3* GPIO_Defs_ESP32_Octa2go.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#define DEFAULT_RMT_4_GPIO gpio_num_t::GPIO_NUM_4
27#define DEFAULT_RMT_5_GPIO gpio_num_t::GPIO_NUM_16
28#define DEFAULT_RMT_6_GPIO gpio_num_t::GPIO_NUM_32
29#define DEFAULT_RMT_7_GPIO gpio_num_t::GPIO_NUM_33
30
31// SPI Output
32#define SUPPORT_SPI_OUTPUT
33#define DEFAULT_SPI_DATA_GPIO gpio_num_t::GPIO_NUM_15
34#define DEFAULT_SPI_CLOCK_GPIO gpio_num_t::GPIO_NUM_25
35#define DEFAULT_SPI_CS_GPIO gpio_num_t::GPIO_NUM_0
36#define DEFAULT_SPI_DEVICE VSPI_HOST
37
38#define DEFAULT_I2C_SDA gpio_num_t::GPIO_NUM_21
39#define DEFAULT_I2C_SCL gpio_num_t::GPIO_NUM_22
40
41// File Manager
42#define SUPPORT_SD
43#define SD_CARD_MISO_PIN gpio_num_t::GPIO_NUM_19
44#define SD_CARD_MOSI_PIN gpio_num_t::GPIO_NUM_23
45#define SD_CARD_CLK_PIN gpio_num_t::GPIO_NUM_18
46#define SD_CARD_CS_PIN gpio_num_t::GPIO_NUM_5
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)