On Sun, Dec 7, 2008 at 5:10 PM, 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. > Do you understand how PIC interrupts work yet? (not being snide here, you're learning and that's cool.) C example will be very similar to the assembler. You'll want to learn the "set register" and "set/clear a single bit" instructions, at least, to understand the datasheet examples. The actual interrupt handler tends to vary by compiler; consult the manual for the compiler you are using. Regards, Mark markrages@gmail -- Mark Rages, Engineer Midwest Telecine LLC markrages@midwesttelecine.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist