diff --git a/duo-firmware.bin b/duo-firmware.bin index 242a259..8eb3793 100755 Binary files a/duo-firmware.bin and b/duo-firmware.bin differ diff --git a/src/Leds.h b/src/Leds.h index 90d3ad5..9e669df 100644 --- a/src/Leds.h +++ b/src/Leds.h @@ -3,8 +3,11 @@ #include +#define COLOR_ORDER GRB + +#define LED_TYPE SK6812 #define CORRECTION_SK6812 0xFFF1E0 -#define CORRECTION_SK6805 0xFFD3AA +#define CORRECTION_SK6805 0xFFD3E0 #define LED_WHITE CRGB(230,255,150) #define leds(A) physical_leds[led_order[A]] diff --git a/src/pins_duo_1.0.h b/src/pins_duo_1.0.h index df55aa4..653fcf0 100644 --- a/src/pins_duo_1.0.h +++ b/src/pins_duo_1.0.h @@ -97,8 +97,7 @@ const int ENV_LED = LED_3; const int SYNC_OUT_PIN = SYNC_OUT; -#define COLOR_ORDER GRB -#define LED_TYPE SK6812 + // One more LED than the physical number of leds for loopback testing const int NUM_LEDS = 19+1; diff --git a/src/src.ino b/src/src.ino index 33df868..4dbf619 100644 --- a/src/src.ino +++ b/src/src.ino @@ -383,7 +383,7 @@ void note_on(uint8_t midi_note, uint8_t velocity, bool enabled) { envelope1.noteOn(); envelope2.noteOn(); } else { - leds(current_step+random_offset) = LED_WHITE; + leds((current_step+random_offset)%SEQUENCER_NUM_STEPS) = LED_WHITE; } }