there is a way for the wavemaker to run smoothly, not to paused every 5 seconds. is it because Arduino cannot be multi-tasking. And dosing pump when it works all features stop for a moment.
Thanks.
unsigned long millis_dosage = millis();
while((millis() - millis_dosage) < tempo_dosagem)
{
digitalWrite(dosadora[i], HIGH);
do_something_else();
}
Return to DIY Ferduino controller
Users viewing this topic: No registered users and 1 guest