forked from forkineye/ESPixelStick
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a8b9189
commit a3cc4ae
Showing
1 changed file
with
59 additions
and
0 deletions.
There are no files selected for viewing
59 changes: 59 additions & 0 deletions
59
ESPixelStick/src/platformDefinitions/GPIO_Defs_ESP32_BreakDanceV2.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
#pragma once | ||
/* | ||
* GPIO_Defs_ESP32_BreakDanceV2.hpp - Output Management class | ||
* | ||
* Project: ESPixelStick - An ESP8266 / ESP32 and E1.31 based pixel driver | ||
* Copyright (c) 2021 - 2022 Shelby Merrick | ||
* http://www.forkineye.com | ||
* | ||
* This program is provided free for you to use in any way that you wish, | ||
* subject to the laws and regulations where you are using it. Due diligence | ||
* is strongly suggested before using this code. Please give credit where due. | ||
* | ||
* The Author makes no warranty of any kind, express or implied, with regard | ||
* to this program or the documentation contained in this document. The | ||
* Author shall not be liable in any event for incidental or consequential | ||
* damages in connection with, or arising out of, the furnishing, performance | ||
* or use of these programs. | ||
* | ||
*/ | ||
|
||
//Output Manager | ||
#define DEFAULT_RMT_0_GPIO gpio_num_t::GPIO_NUM_2 | ||
#define DEFAULT_RMT_1_GPIO gpio_num_t::GPIO_NUM_13 | ||
|
||
#define DEFAULT_RMT_2_GPIO gpio_num_t::GPIO_NUM_12 | ||
|
||
// SPI Output | ||
#define SUPPORT_SPI_OUTPUT | ||
#define DEFAULT_SPI_DATA_GPIO gpio_num_t::GPIO_NUM_27 | ||
#define DEFAULT_SPI_CLOCK_GPIO gpio_num_t::GPIO_NUM_32 | ||
#define DEFAULT_SPI_DEVICE HSPI_HOST | ||
|
||
#define DEFAULT_I2C_SDA gpio_num_t::GPIO_NUM_3 | ||
#define DEFAULT_I2C_SCL gpio_num_t::GPIO_NUM_5 | ||
|
||
// File Manager | ||
#define SUPPORT_SD | ||
#define SD_CARD_MISO_PIN gpio_num_t::GPIO_NUM_19 | ||
#define SD_CARD_MOSI_PIN gpio_num_t::GPIO_NUM_23 | ||
#define SD_CARD_CLK_PIN gpio_num_t::GPIO_NUM_18 | ||
#define SD_CARD_CS_PIN gpio_num_t::GPIO_NUM_4 | ||
|
||
#define DEFAULT_RELAY_GPIO gpio_num_t::GPIO_NUM_14 | ||
|
||
// Output Types | ||
// Not Finished - #define SUPPORT_OutputType_TLS3001 | ||
#define SUPPORT_OutputType_APA102 // SPI | ||
#define SUPPORT_OutputType_DMX // UART / RMT | ||
#define SUPPORT_OutputType_GECE // UART / RMT | ||
#define SUPPORT_OutputType_GS8208 // UART / RMT | ||
#define SUPPORT_OutputType_Renard // UART / RMT | ||
#define SUPPORT_OutputType_Serial // UART / RMT | ||
#define SUPPORT_OutputType_TM1814 // UART / RMT | ||
#define SUPPORT_OutputType_UCS1903 // UART / RMT | ||
#define SUPPORT_OutputType_UCS8903 // UART / RMT | ||
#define SUPPORT_OutputType_WS2801 // SPI | ||
#define SUPPORT_OutputType_WS2811 // UART / RMT | ||
#define SUPPORT_OutputType_Relay // GPIO | ||
#define SUPPORT_OutputType_Servo_PCA9685 // I2C (default pins) |