PDA

View Full Version : Interrupt-on-Change-pin!



PICante
- 5th February 2009, 11:30
Hi all,

I am trying to figure out how to handle the”Interrupt-on-Change-pin” function from PBP. I have searched but haven’t been able to find any good examples; the part I am practicing on is the 16F690.
Any suggestions where to look?

Thanks guys!

Jerson
- 5th February 2009, 11:39
You need to describe in more detail what you want to do to get good suggestions.

Acetronics2
- 5th February 2009, 12:15
Any suggestions where to look?

Thanks guys!

Hi,

AN 566 from Microchip ... of course !!!

Alain

PICante
- 5th February 2009, 15:47
Jerson > It’s not a specific task I am after only how PBP handles in general parts with the ”Interrupt-on-Change-pin” feature included, and preferably for the 16F690.
I’m trying to learn about this and are now looking for some code (PBP) examples to start with. Things to learn could be; wake up from sleep, what happens when using PWM in parallel and how to set up the fuses. Common traps and pitfalls. :-)

Thanks!



Acetronics> I did browse the AN566 document once before and I did it again but still I did not find anything concerning PBP and how it handles ”Interrupt-on-Change-pin”!?

Acetronics2
- 5th February 2009, 16:50
Hi,

NO specific handling by PBP ... you could look for it a while !!!


just , may be, with Darrel instant interrupts ... so, see the related thread.

BUT I do not think you did any effort to SEARCH the threads with "PORTB Interrupts" as Keyword

my two cents ...

Alain

ardhuru
- 5th February 2009, 16:57
http://www.microengineeringlabs.com/resources/samples/pbp/onint.bas perhaps?

PICante
- 11th February 2009, 19:55
Thanks guys,
So, I have to treat the part the same way in PBP whether it has got the “Interrupt-on-Change-pin” feature or not?
Is this a correct assumption?

Thanks again.

Bruce
- 11th February 2009, 20:22
Have you seen this? http://www.melabs.com/resources/samples/x2/pbp/wakex2.bas