/*
Josh Fender
This is an example that shows how to creat for loops in both void setup and void loop
as well as what happens after the for loop is complete.
*/
const int LED = 9;
int t_long = 1000;
int t_short = 250;
void setup() {
pinMode(LED, OUTPUT);
for (int count = 0; count < 10; count++){
digitalWrite(LED, HIGH);
delay(t_short);
digitalWrite(LED, LOW);
delay(t_short);
}
}
void loop() {
for (int i = 0; i < 4; i++){
digitalWrite(LED, HIGH);
delay(t_long);
digitalWrite(LED, LOW);
delay(t_short);
}
delay(t_long);
}