Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FastLED/FastLED.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Garcia <danielgarcia@gmail.com>2014-10-29 21:35:50 +0300
committerDaniel Garcia <danielgarcia@gmail.com>2014-10-29 21:35:50 +0300
commitd2aedea7d14f7f8c30e21386bfade1ee8065f53b (patch)
tree6f0087df149d4b1b34b886c6eac069f4522f2574
parent998564784bdedf7a2bcfe50b183f1fa653b87a96 (diff)
Fix Issue #89, disable the max power indicator pin.3.0.1
-rw-r--r--power_mgt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/power_mgt.cpp b/power_mgt.cpp
index 336430fd..46befd6e 100644
--- a/power_mgt.cpp
+++ b/power_mgt.cpp
@@ -43,7 +43,7 @@ static const uint8_t gMCU_mW = 25 * 5; // 25mA @ 5v = 125 mW
static uint32_t gMaxPowerInMilliwatts = (uint32_t)(400) * (uint32_t)(5); // 400mA @ 5v default to avoid USB bricking
-static uint8_t gMaxPowerIndicatorLEDPinNumber = 13; // default = Arduino onboard LED pin. set to zero to skip this.
+static uint8_t gMaxPowerIndicatorLEDPinNumber = 0; // default = Arduino onboard LED pin. set to zero to skip this.
uint32_t calculate_unscaled_power_mW( const CRGB* ledbuffer, uint16_t numLeds ) //25354