>I do not know how to cause an interrupt on a pin change. > -- > ..::[ solarwind ]::.. > -- As I posted in my other reply - get a demo type board and get some code up and running. Don't try and run with PIC programming before you can walk or you'll end up tripping over. I use predominantly 18F1320 for development and they are good processors to start with / learn on. Taken from the 18F1320 datasheet on page 87 ish: 9.8 PORTB Interrupt-on-Change An input change on PORTB<7:4> sets flag bit, RBIF (INTCON<0>). The interrupt can be enabled/disabled by setting/clearing enable bit, RBIE (INTCON<3>). Interrupt priority for PORTB interrupt-on-change is determined by the value contained in the interrupt priority bit, RBIP (INTCON2<0>). If the above confuddles you then definitely get yourself a demo/development board and start from the beginning. Within a few hours of programming and demo code you will pick up what the above it talking about. Dom -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist