diff --git a/PringlesLooper/PringlesLooper.ino b/PringlesLooper/PringlesLooper.ino index 7da3113..aef0b9f 100644 --- a/PringlesLooper/PringlesLooper.ino +++ b/PringlesLooper/PringlesLooper.ino @@ -83,7 +83,6 @@ void RealTimeSystem(byte realtimebyte) { } - void setup() { for (int i = 0; i < 8; i++) { pinMode(pins[i], INPUT_PULLUP); @@ -102,6 +101,12 @@ void setup() { usbMIDI.setHandleRealTimeSystem(RealTimeSystem); leds.begin(); leds.show(); + /* + for (uint16_t i=0; i < strip.numPixels(); i=i+3) { + leds.setPixelColor(i,255,255,255); + } + leds.show(); + */ } void loop() { @@ -153,8 +158,12 @@ void loop() { {*/ if (tempState == 0) { usbMIDI.sendNoteOn(i, 127, 1); + leds.setPixelColor(i,255,255,255); + leds.show(); } else { usbMIDI.sendNoteOff(i, 0, 1); + leds.setPixelColor(i,0,0,0); + leds.show(); } // }