The functionality i’m pursuing is still somewhat nebulous, but i can say that the ESP8266 will be controlling an LED strip, and each button press will control a different pattern along the strip. The patterns are somewhat complex and shift back and forth along the strip, which is why something as straightforward as (If V1 ON){LED1 ON} doesn’t seem like it’ll quite cover it. Any time a button is pressed the current pattern should immediately repopulate with the new pattern defined by the new button. I think i may have found a way to resolve this without while loops, but the structure is still in progress.