I only made changes to the pre-load value, LCDOUT command to display up to 3 digits and the tickcount interrupt handler, where I put in the new:
Tickcount changes:
If RunningFlag=1 then
Thousandths=Thousandths+1
If Thousandths>9 then
Thousandths=0
Hundredths=Hundredths+1
etc....
LCDOUT Changes:
LCDOUT $FE, $C0, DEC3 Thousandths, " Thousandths"
It doesn't seems right. What went wrong? Did I miss out anything? Getting 1ms counts is very critical for my project, but I just couldn't figure it out.![]()
Bookmarks