// Find the bug: This creates an infinite loop!
void setup() {
pinMode(0, OUTPUT);
}
void loop() {
int count = 0;
while (count < 5) { // Should blink 5 times
digitalWrite(0, HIGH);
delay(200);
digitalWrite(0, LOW);
delay(200);
}
count = count + 1;
// error here count int and can overrun
// this should be inside while loop
delay(1000);
}