From 487a95eb79793578ae3271af9dbc256a4b4bc18b Mon Sep 17 00:00:00 2001 From: Christoph Wiechert Date: Fri, 29 May 2020 13:47:13 +0200 Subject: [PATCH] Add PWM pins - to use with esp_rgbww_controller from patrickjahns/pljakobs (https://github.com/pljakobs/esp_rgbww_controller) --- wled00/NpbWrapper.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/wled00/NpbWrapper.h b/wled00/NpbWrapper.h index 4a6e3cdc..b4bfe9b5 100644 --- a/wled00/NpbWrapper.h +++ b/wled00/NpbWrapper.h @@ -71,6 +71,14 @@ #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 + #elif defined(WLED_USE_PLJAKOBS_PCB) + // PWM pins - to use with esp_rgbww_controller from patrickjahns/pljakobs (https://github.com/pljakobs/esp_rgbww_controller) + #define RPIN 12 //R pin for analog LED strip + #define GPIN 13 //G pin for analog LED strip + #define BPIN 14 //B pin for analog LED strip + #define WPIN 4 //W pin for analog LED strip + #define W2PIN 5 //W2 pin for analog LED strip + #undef IR_PIN #else //PWM pins - PINs 5,12,13,15 are used with Magic Home LED Controller #define RPIN 5 //R pin for analog LED strip