Below is a vary simple count routine. It will work just fine as is. Why does it do a full count and then do the delay.
[code]
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
for (int C = 0; C < 5; C++)
Serial.println(C);
delay(1000);
}
[/code]
Why doesn’t it print 1, then delay, print 2 then delay, and so on?