solarwind wrote: > All I need is a simple example how to get the interrupt on pin change > to work. There aren't many C examples for this. > There are assembler examples in the datasheet. Read them. Understand them. Then do the same in C. Generaly speaking, C examples for such basic things are not *that* usable, since there are many different C's. Better then with a clear assembler example that you can learn from and then implement in whatever C you're using. And I'd bet that this is *not* all you need... -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist