Page 1 of 1

Interrupt Help

Posted: Fri Oct 30, 2020 1:53 am
by TheSystem
Hi! I'm new around here and to FlowCode8. I have been struggling to get interrupts working in this particular program. I have attached the Compile log as well as the program. If anyone can tell me why this is not working , I'd be eternally grateful :D .

Thanks

Re: Interrupt Help

Posted: Fri Oct 30, 2020 6:55 am
by QMESAR
Hi

If you are not supplying a clock signal to the Timer 0 external clock Pin then the interrupt will never fire,in this case set the Timer clock to Internal Clock (Clock Source Property)

P5.jpg
P5.jpg (22.53 KiB) Viewed 1870 times
Set The property to Internal as shown below
P6.jpg
P6.jpg (19.23 KiB) Viewed 1870 times

Re: Interrupt Help

Posted: Fri Oct 30, 2020 12:45 pm
by TheSystem
Haha. Thanks, this was a silly one :shock:

Re: Interrupt Help

Posted: Fri Oct 30, 2020 1:44 pm
by QMESAR
Hi
No problem made this mistake many times and look hours for the bug :D