Posted: Tue Sep 14, 2004 8:21 am Post subject: Help simulate timer0 with bascom avr
Hello,
wenn i sim the code:
Config Timer0 = Timer , Prescale = 1024
'Define the ISR handler
On Ovf0 Tim0_isr
'you may also use TIMER0 for OVF0, it is the same
Enable Timer0 ' enable the timer interrupt
Enable Interrupts 'allow interrupts to occur
Do
'your program goes here
Loop
'the following code is executed when the timer rolls over
Tim0_isr:
Print "*";
Return
End
with the mega8535 with bacom sim it works fine (the sim print ****)
with the mega16 the sim works no (the sim print nothing)
bug in simulator?
please help
Bascom 1.11.7.4
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