コンパイル中に、23 行目で「expected unqualified-id before 'else'」というエラーが表示されます。これは、以下の ** で強調表示されていますが、その意味をどのように解釈すればよいかわかりません。それが何を意味するかについての考え?
void loop() {
if (cycleTally <= 3) {
for (count = 0, cycleTally = 0; count<3 && cycleTally==3;count++,cycleTally++) {
digitalWrite(led, LOW); //LED is dim for 250 ms
delay (timeBlockArrayShort[count]); //count = 1 in the array, 250 ms
digitalWrite(led, HIGH); //LED is bright for 250 ms
delay (timeBlockArrayShort[count + 1]); //count = 2 in the array, 250 ms
}
}
**else** { //error location
if (cycleTally <= 6) { //
for (count = 0, cycleTally = 4; count<3 && cycleTally==6;count++,cycleTally++) {
digitalWrite(led, LOW);
delay (timeBlockArrayLong[count]);
digitalWrite(led, HIGH);
delay (timeBlockArrayLong[count + 1]);
}
}