Dim A as word
Config Timer0=counter , Gate=Internal , Mode=1 I suppose this can't works with simulator
Timer0=counter means you use an external clock at T0 pin
You should use
Config Timer0=timer , Gate=Internal , Mode=1
Load Timer0 , 1 Load works for autoreload mode only
You must use Counter=1
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum