(Resolved) Continue running one part of code while still checking other inputs?

Thank you both for the quick replies! I actually realized that I used the wrong time frame shortly after posting. Actually, I finally understood the difference between the two rather than just having made a simple typo.

As for the squiggles, thanks for solidifying what slowely becoming clear; your confirmation makes it stick now :slight_smile:

I will makes those changes to my sketch, and then see if I can apply what I learned to making my turn signals behave similarly, but with a PWM pulsing blink effect.

Edit: I also had to add a line just before the end to make sure that the BrakeSwitchVal was reset to 0 after the button was released, otherwise the clock wouldnt reset and the initial flash wouldn't occur:
if (BrakeSwitchVal == LOW)
{
previousBrakeSwitchVal = BrakeSwitchVal; //makes sure the previousBrakeSwitch value is reset of off when the switch is in fact off.
}

Stay tuned for the next exciting episode of The Adventures of a Coding n00b!