I've broken my issue down to it's simplest form. I have a tilt switch (practically a button that is HIGH when right side up and LOW when upside down) and an LED. What I'm gathering from trial and error is that my loop function isn't actually looping, it's just reading the switch once and acting accordingly with the if-else statement. I'd like it to loop repeatedly and constantly read and act depending on the switch. It's probably a very beginner syntax issue but I haven't found it yet. I am using an arduino uno r3.