interrupt

Forum for problems or queries regarding the Flowcode application and compiler usage.

Moderators: Benj, Mods

Post Reply
valvo
Posts: 2
Joined: Thu Nov 06, 2008 2:11 pm
Contact:

interrupt

Post by valvo »

Hi there I wonder if there may be a bug re interrupts ? I am trying to design a rev counter using a PIC 16F628 and need to clock timer0 from the tock pin (ra4) I have selected this option from the interrupt properties ie transition on tocki and interrupt on timer0 overflow but despite there being nothing clocking the ra4 pin I am still geting a call to the interrupt service routine regularly as if timer0 were being clocked by an internal source

I would add this is purely on simulation as I have as yet not tried to program a real chip

regards

steve

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: interrupt

Post by Benj »

Hello

The simulation of Timer0 will not work exactly as it would on the hardware. There should be no problems when running the code onboard a chip.

Post Reply