please i want to know how to write a loop that will break after (for expample ) 9 second form now,
thank you very much
Do you actually want to do something in a loop for nine seconds, or do you just want the sketch to wait until nine seconds has passed before proceeding?
Studying the BlinkWithoutDelay example would be useful I think.
Here's a loop that will break after 9 seconds:
for (unsigned long starttime = millis(); millis() - starttime < 9000; ) {
}
tahnk you very much