Hi I wonder if anyone could give me an example how the
TickGetDiv256();
function works. It came from Microchip in Tick.c
Im trying to count for 2 houre's, if fullfilled an engine will be stopped.
I could might use "threshold = tick + TICKS_PER_SECOND * 60;
" function.
But I dont know if it would be good to use it for this amount of time: threshold = tick + (TICKS_PER_SECOND * 60 * 60)*2
;
Kind Regards