Add DIY PCB SHOJO_PCB analog
This commit is contained in:
parent
db60309ce8
commit
5e1d20fc72
@ -36,6 +36,7 @@ default_envs = d1_mini, esp01, esp01_1m_ota, esp32dev
|
|||||||
; default_envs = esp8285_4CH_MagicHome
|
; default_envs = esp8285_4CH_MagicHome
|
||||||
; default_envs = esp8285_4CH_H801
|
; default_envs = esp8285_4CH_H801
|
||||||
; default_envs = esp8285_5CH_H801
|
; default_envs = esp8285_5CH_H801
|
||||||
|
; default_envs = d1_mini_5CH_Shojo_PCB
|
||||||
|
|
||||||
[common]
|
[common]
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
@ -240,6 +241,12 @@ platform = ${common.platform_latest}
|
|||||||
board_build.ldscript = ${common.ldscript_1m0m}
|
board_build.ldscript = ${common.ldscript_1m0m}
|
||||||
build_flags = ${common.build_flags_esp8266} -D WLED_DISABLE_HUESYNC -D WLED_USE_ANALOG_LEDS -D WLED_USE_H801 -D WLED_ENABLE_5CH_LEDS
|
build_flags = ${common.build_flags_esp8266} -D WLED_DISABLE_HUESYNC -D WLED_USE_ANALOG_LEDS -D WLED_USE_H801 -D WLED_ENABLE_5CH_LEDS
|
||||||
|
|
||||||
|
[env:d1_mini_5CH_Shojo_PCB]
|
||||||
|
board = d1_mini
|
||||||
|
platform = ${common.platform_latest}
|
||||||
|
board_build.ldscript = ${common.ldscript_4m1m}
|
||||||
|
build_flags = ${common.build_flags_esp8266} -D WLED_USE_ANALOG_LEDS -D SHOJO_PCB -D WLED_ENABLE_5CH_LEDS
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# DEVELOPMENT BOARDS
|
# DEVELOPMENT BOARDS
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
@ -62,6 +62,13 @@
|
|||||||
#define GPIN 4 //G pin for analog LED strip
|
#define GPIN 4 //G pin for analog LED strip
|
||||||
#define BPIN 14 //B pin for analog LED strip
|
#define BPIN 14 //B pin for analog LED strip
|
||||||
#define WPIN 5 //W pin for analog LED strip
|
#define WPIN 5 //W pin for analog LED strip
|
||||||
|
#elif defined(SHOJO_PCB)
|
||||||
|
//PWM pins - to use with Shojo PCB (https://www.bastelbunker.de/esp-rgbww-wifi-led-controller-vbs-edition/)
|
||||||
|
#define RPIN 14 //R pin for analog LED strip
|
||||||
|
#define GPIN 4 //G pin for analog LED strip
|
||||||
|
#define BPIN 5 //B pin for analog LED strip
|
||||||
|
#define WPIN 15 //W pin for analog LED strip
|
||||||
|
#define W2PIN 12 //W2 pin for analog LED strip
|
||||||
#else
|
#else
|
||||||
//PWM pins - PINs 5,12,13,15 are used with Magic Home LED Controller
|
//PWM pins - PINs 5,12,13,15 are used with Magic Home LED Controller
|
||||||
#define RPIN 5 //R pin for analog LED strip
|
#define RPIN 5 //R pin for analog LED strip
|
||||||
|
Loading…
Reference in New Issue
Block a user