From eb99271120b52356699546f08a9c57fffddd4ab4 Mon Sep 17 00:00:00 2001 From: Eric Severance Date: Tue, 20 Apr 2021 12:36:52 -0700 Subject: [PATCH] Use 22.5 for the TM1814 max current (#1905) * Configure TM1814 max current * Use 22.5 mA as this seems to be a common value for the LEDs --- wled00/bus_wrapper.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/wled00/bus_wrapper.h b/wled00/bus_wrapper.h index bd3da14d0..e5e5db54c 100644 --- a/wled00/bus_wrapper.h +++ b/wled00/bus_wrapper.h @@ -196,9 +196,8 @@ class PolyBus { static void beginTM1814(void* busPtr) { T tm1814_strip = static_cast(busPtr); tm1814_strip->Begin(); - // Max current for each LED (38.0 mA). - const uint16_t max = NeoTm1814Settings::MaxCurrent; - tm1814_strip->SetPixelSettings(NeoTm1814Settings(/*R*/max, /*G*/max, /*B*/max, /*W*/max)); + // Max current for each LED (22.5 mA). + tm1814_strip->SetPixelSettings(NeoTm1814Settings(/*R*/225, /*G*/225, /*B*/225, /*W*/225)); } static void begin(void* busPtr, uint8_t busType, uint8_t* pins) { switch (busType) {