Search found 4 matches
- Thu Dec 04, 2008 10:54 am
- Forum: Bugs / Application Errors
- Topic: Interrupt GP2 and Port change on 12F675
- Replies: 4
- Views: 5338
Re: Interrupt GP2 and Port change on 12F675
Hello Benj, Thanks for your reply. Here's the result of my tests: (For info: - on-change port interrupt enabled on both GP0 and GP1; GP2/INT enabled; - GP2/INT macro commands a LED on GP4; - on-change port macro commands a LED on GP5.) First, I had a wrong value for one resistor leading to a non-wor...
- Wed Dec 03, 2008 2:41 pm
- Forum: Bugs / Application Errors
- Topic: Interrupt GP2 and Port change on 12F675
- Replies: 4
- Views: 5338
Re: Interrupt GP2 and Port change on 12F675
My previous flowcode was not totally correct, in the GP2 interrupt macro I forgot to disable the interrupt.
Here's a corrected version.
M.
Here's a corrected version.
M.
- Wed Dec 03, 2008 12:37 pm
- Forum: Bugs / Application Errors
- Topic: Interrupt GP2 and Port change on 12F675
- Replies: 4
- Views: 5338
Re: Interrupt GP2 and Port change on 12F675
I was not clear, here's an example:
BP0 on GP2: each interrupt makes DEL0 dim (that part runs fine on both flowcode and on the breadboard)
BP1 pn GP0: one interrupt should light on DEL1 (no way to make it run on both flowcode and the breadboard)
The .fcd is attached.
M.
BP0 on GP2: each interrupt makes DEL0 dim (that part runs fine on both flowcode and on the breadboard)
BP1 pn GP0: one interrupt should light on DEL1 (no way to make it run on both flowcode and the breadboard)
The .fcd is attached.
M.
- Wed Dec 03, 2008 9:38 am
- Forum: Bugs / Application Errors
- Topic: Interrupt GP2 and Port change on 12F675
- Replies: 4
- Views: 5338
Interrupt GP2 and Port change on 12F675
Hello, I'm currently trying to use at same time both GP2 and on Port change interrupts. The compilation to .hex failed complaining about unknown iocb variable. I added a #define iocb ioc to the Add defines component to workaround this issue. So I could build to .hex but only GP2 interrupt works on t...