Page 1 of 1

External Interupts dont work

Posted: Fri Jul 15, 2016 3:55 am
by MTTweaker
I made a flowchart with external interrupt using RB0 on PIC16F1937 in the e block, and when i press the switch the interrupt don't work, like it don't exist. i have attached the code.
when i use this with FC6 it works fine.

Re: External Interupts dont work

Posted: Fri Jul 15, 2016 12:15 pm
by PaulNe
Hi MTTweaker,

Thanks for reporting the bug. It's logged in the system, and should be fixed for the next patch.

Thanks

Paul

Re: External Interupts dont work

Posted: Sat Jul 16, 2016 8:51 pm
by Lagoda
Hi MTTweaker!



A slightly modified the flowchart.
Please try this version in FC7.
I am interested in your opinion.

Lagoda

Re: External Interupts dont work

Posted: Sun Jul 17, 2016 5:13 am
by MTTweaker
the blinking LED part works, but the interrupt that is going to reset the counter doesn't do anything.
its like the interrupt pin don't exist

Re: External Interupts dont work

Posted: Sun Jul 17, 2016 2:09 pm
by Lagoda
Unfortunately, I could only test in the simulator, but this version worked.
Did you test in your target board or simulator?

Re: External Interupts dont work

Posted: Sun Jul 17, 2016 2:25 pm
by MTTweaker
I tested in the target board..

Re: External Interupts dont work

Posted: Mon Jul 18, 2016 10:21 am
by medelec35
Hi MTTweaker,
It looks like GIE is not being enabled.
Attached is an unofficial temp fix.
Just place the attached file in:

Code: Select all

C:\Program Files (x86)\Flowcode 7\FCD\PIC
or

Code: Select all

C:\Program Files\Flowcode 7\FCD\PIC
Depending on which windows version you have.