So here is what I have so far. You guys have me on the right track for sure, but there are a few issues I can't figure out. When the switch is held High, the LED will blink(High then Low). When the switch is set to Low the Led will blink again, which in all honesty I kinda prefer however I would like to figure out how to just make it blink when the switch is set to High, then not blink again until the switch is cycled low then back to High again.
Any further assistance or hints into the right direction would be super appreciated...
int switch1 = 12; // the number of the switch pin
int led1 = 4; // the number of the LED pin
int prevState = LOW;
// initialize the LED pin as an output:
// initialize the switch pin as an input:
currState = digitalRead(switch1);
if (currState != prevState)
prevState = currState;