// Simulate(Uno) link sketch to Arduino board here
int ch;
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
ch=0;
}
void loop() {
// put your main code here, to run repeatedly:
switch(ch)
{
case 1: Serial.println("First iteration");
break;
case 5:
case 6: Serial.println("Five or six");
digitalWrite(13, HIGH);
break;
default: Serial.println("Out of range");
digitalWrite(13, LOW);
}
ch++;
if (ch==7) ch=0;
delay(1000);
}