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
This commit is contained in:
		| @@ -196,9 +196,8 @@ class PolyBus { | ||||
|   static void beginTM1814(void* busPtr) { | ||||
|     T tm1814_strip = static_cast<T>(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) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Eric Severance
					Eric Severance