Skip to content

Commit

Permalink
Fixed random colors on boot issue
Browse files Browse the repository at this point in the history
  • Loading branch information
connornishijima committed Jan 8, 2017
1 parent b09bb30 commit 472919f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Lixie.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,13 @@ byte Lixie::getBit(uint16_t pos) const{
}

void Lixie::begin() {
controller->showLeds();
max_power(5,1000); // 5V, 1000mA
for(byte i = 0; i < NumDigits; i++){
colors[i] = CRGB(255,255,255);
colors_off[i] = CRGB(0,0,0);
}
color_balance(Tungsten100W);
clear(false);
clear();
}

void Lixie::clear(bool show_change) {
Expand Down

0 comments on commit 472919f

Please sign in to comment.