clock add

This commit is contained in:
KaraBun 2023-01-20 21:29:41 -05:00
parent f8b56090b2
commit 66a3c0304a

View file

@ -145,7 +145,12 @@ void loop() {
}
unsigned long currentTime = millis();
}
if ((currentTime - LastStepTime) > ClockTick){
ClockTime++;
LastStepTime = currentTime;
}}
// Interrupt is called once a millisecond,
SIGNAL(TIMER0_COMPA_vect)