Posted: Thu Jul 27, 2017 7:23 am Post subject: Problem with timer in Bascom 2.0.8.0
Hi,
I've recently upgraded to version 2.0.8.0. One of the programs I've successfully used for XM16A4 in the previous Bascom version, stopped working. If I program the chip with the HEX file compiled with the old version of Bascom, it works perfectly; but, when I program the file compiled with the new version, it does not work.
I've realized one issue is with the timer, TCC1_CNT always shows 0. Any idea about the reason and how to solve this problem?
Config TcC1 = Normal , Prescale = 1024
Do
var=TCC1_CNT
print #4, var
waitms 100
Loop
Why TCC1_CNT is always 0 here? Do I need to add any command to start the timer or...
Thanks,
(BASCOM-AVR version : 2.0.8.0 , Latest : 2.0.7.8 )
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