Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
hi,
A 4MHz crystal will give an internal clock of 1MHz, ie: 1uSec Period.
pre-scaling by 32 will give a 32uSec Period.
So Tmr0 is 8Bit, ie:256 max, but 0.5mSec/32uSec = decimal 15.625.!!
Check your calculations.
E