Merge branch 'main' of https://github.com/SpaceyKasey/trigor-mortse
This commit is contained in:
commit
3b9715e2d4
1 changed files with 6 additions and 1 deletions
|
@ -147,7 +147,12 @@ void loop() {
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned long currentTime = millis();
|
unsigned long currentTime = millis();
|
||||||
}
|
|
||||||
|
if ((currentTime - LastStepTime) > ClockTick){
|
||||||
|
ClockTime++;
|
||||||
|
LastStepTime = currentTime;
|
||||||
|
}}
|
||||||
|
|
||||||
|
|
||||||
// Interrupt is called once a millisecond,
|
// Interrupt is called once a millisecond,
|
||||||
SIGNAL(TIMER0_COMPA_vect)
|
SIGNAL(TIMER0_COMPA_vect)
|
||||||
|
|
Loading…
Reference in a new issue