Method 1 is sufficient to complete my project, as it is possible to capture display the time in milliseconds.
I am facing a problem here of which, I do not know how to calculate the require timer pre-load value in order for to timer to count on 1 millisecond basis. I tried to apply the value $FC38 which I calculated based on my understanding from $D910 as in the sample codes, but it appears to that the timer counts become slower. I tried with other values such as $FFFE, $03C7, all seems to make the timer count really slow.
Can anyone guide/teach me in how to calculate the actual pre-load value which I can get 1 millisecond timer and display it on LCD? I am using 16F877A with 4Mhz crystal.
Sorry for all the question, I am really new to this, hope can help me. Very much thanks.
Bookmarks