-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #899 from jdgarcia99/master
Adding LedBar Animation for Visual effects of OpenEVSE activity and status
- Loading branch information
Showing
3 changed files
with
258 additions
and
6 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -122,6 +122,7 @@ build_partitions_debug = min_spiffs_debug.csv | |
build_partitions_16mb = openevse_16mb.csv | ||
|
||
neopixel_lib = adafruit/Adafruit [email protected] | ||
ws2812fx_lib = kitesurfer1404/[email protected] | ||
|
||
gfx_display_libs = | ||
# lvgl/[email protected] | ||
|
@@ -378,6 +379,7 @@ build_flags = | |
-D RX1=25 | ||
-D TX1=27 | ||
|
||
|
||
[env:wt32-eth01] | ||
# For Wireless Tag | ||
board = wt32-eth01 | ||
|
@@ -401,6 +403,47 @@ build_flags = | |
-D ETH_CLK_MODE=ETH_CLOCK_GPIO0_IN | ||
-D ETH_PHY_POWER=16 | ||
|
||
[env:wt32-eth01-ws2812] | ||
# For Wireless Tag | ||
board = wt32-eth01 | ||
lib_deps = | ||
${common.lib_deps} | ||
${common.neopixel_lib} | ||
${common.ws2812fx_lib} | ||
adafruit/Adafruit MCP9808 Library @ 1.1.2 | ||
build_flags = | ||
${common.build_flags} | ||
${common.src_build_flags} | ||
#-D WIFI_LED=12 | ||
#-D WIFI_LED_ON_STATE=HIGH | ||
-D NEO_PIXEL_PIN=12 | ||
-D NEO_PIXEL_LENGTH=15 | ||
-D ENABLE_WS2812FX | ||
-D WIFI_PIXEL_NUMBER=1 | ||
-D WIFI_BUTTON=4 | ||
-D WIFI_BUTTON_PRESSED_STATE=LOW | ||
# -D DEBUG_PORT=Serial | ||
-D RAPI_PORT=Serial2 | ||
# If using PN532 RFID reader through I2C | ||
# Need to comment pin definition for SDA and SCL at .platformio/packages/framework-arduinoespressif32/variants/wt32-eth01/pins_arduino.h | ||
#-D I2C_SDA=2 | ||
#-D I2C_SCL=4 | ||
#-D ENABLE_PN532 | ||
# If Using MCP9808 | ||
#-D SDA=2 | ||
#-D SCL=4 | ||
#-D ENABLE_MCP9808 | ||
-D ENABLE_WIRED_ETHERNET | ||
-D RESET_ETH_PHY_ON_BOOT=1 | ||
-D RX2=5 | ||
-D TX2=17 | ||
-D ETH_PHY_TYPE=ETH_PHY_LAN8720 | ||
-D ETH_PHY_ADDR=1 | ||
-D ETH_PHY_MDC=23 | ||
-D ETH_PHY_MDIO=18 | ||
-D ETH_CLK_MODE=ETH_CLOCK_GPIO0_IN | ||
-D ETH_PHY_POWER=16 | ||
|
||
[env:esp32-c3-devkitc-02] | ||
board = esp32-c3-devkitc-02 | ||
lib_deps = | ||
|
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
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