Compare commits
No commits in common. "b3322b169beadd48d2e0854052c970dd7dd0c057" and "99014b0f1d5cb6870161291b851a33bfebf7aaec" have entirely different histories.
b3322b169b
...
99014b0f1d
@ -220,6 +220,7 @@ void setup() {
|
|||||||
|
|
||||||
pinMode(PIN_TRIGGER_SHUFFLE, INPUT);
|
pinMode(PIN_TRIGGER_SHUFFLE, INPUT);
|
||||||
pinMode(PIN_POWER_ON, INPUT);
|
pinMode(PIN_POWER_ON, INPUT);
|
||||||
|
powerOnState = digitalRead(PIN_POWER_ON) == HIGH;
|
||||||
pinMode(PIN_SEND_WIN, OUTPUT);
|
pinMode(PIN_SEND_WIN, OUTPUT);
|
||||||
digitalWrite(PIN_SEND_WIN, LOW);
|
digitalWrite(PIN_SEND_WIN, LOW);
|
||||||
|
|
||||||
@ -230,8 +231,6 @@ void setup() {
|
|||||||
pinMode(7, INPUT_PULLUP);
|
pinMode(7, INPUT_PULLUP);
|
||||||
pinMode(8, INPUT_PULLUP);
|
pinMode(8, INPUT_PULLUP);
|
||||||
|
|
||||||
powerOnState = digitalRead(PIN_POWER_ON) == HIGH;
|
|
||||||
|
|
||||||
for (uint8_t i = 0; i < 12; i++)
|
for (uint8_t i = 0; i < 12; i++)
|
||||||
expander.write(i, HIGH);
|
expander.write(i, HIGH);
|
||||||
|
|
||||||
|
|||||||
@ -67,13 +67,13 @@ void winAnimation() {
|
|||||||
for (int i = 0; i < NUM_LEDS; i++) {
|
for (int i = 0; i < NUM_LEDS; i++) {
|
||||||
strip.setPixelColor(
|
strip.setPixelColor(
|
||||||
ledIndex(i),
|
ledIndex(i),
|
||||||
strip.Color(35, 10, 0)
|
strip.Color(25, 25, 0)
|
||||||
);
|
);
|
||||||
strip.show();
|
strip.show();
|
||||||
delay(20);
|
delay(20);
|
||||||
}
|
}
|
||||||
|
|
||||||
setAll(strip.Color(35, 10, 0));
|
setAll(strip.Color(25, 25, 0));
|
||||||
strip.show();
|
strip.show();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -81,7 +81,7 @@ void checkPress(int buttonID) {
|
|||||||
if (buttonID == sequence[currentStep]) {
|
if (buttonID == sequence[currentStep]) {
|
||||||
strip.setPixelColor(
|
strip.setPixelColor(
|
||||||
ledIndex(currentStep),
|
ledIndex(currentStep),
|
||||||
strip.Color(35, 10, 0)
|
strip.Color(25, 25, 0)
|
||||||
);
|
);
|
||||||
strip.show();
|
strip.show();
|
||||||
currentStep++;
|
currentStep++;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user