Skip to content

Commit eb99271

Browse files
authored
Use 22.5 for the TM1814 max current (wled#1905)
* Configure TM1814 max current * Use 22.5 mA as this seems to be a common value for the LEDs
1 parent 13e5c69 commit eb99271

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

wled00/bus_wrapper.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,8 @@ class PolyBus {
196196
static void beginTM1814(void* busPtr) {
197197
T tm1814_strip = static_cast<T>(busPtr);
198198
tm1814_strip->Begin();
199-
// Max current for each LED (38.0 mA).
200-
const uint16_t max = NeoTm1814Settings::MaxCurrent;
201-
tm1814_strip->SetPixelSettings(NeoTm1814Settings(/*R*/max, /*G*/max, /*B*/max, /*W*/max));
199+
// Max current for each LED (22.5 mA).
200+
tm1814_strip->SetPixelSettings(NeoTm1814Settings(/*R*/225, /*G*/225, /*B*/225, /*W*/225));
202201
}
203202
static void begin(void* busPtr, uint8_t busType, uint8_t* pins) {
204203
switch (busType) {

0 commit comments

Comments
 (0)