On Fri, 20 May 2011 19:22:17 -0700 (PDT), threewheeler6 wrote: :: The only thing changed was the :: config bits, the pin definitions, and compairitor/ad settings. As the 16F628/48a devices are 18 pin and the 16F690 is 20 pin (DIP package)= =20 are you sure you've physically matched the right pins to the correct code=20 function? Have you taken account of the extra PI registers for the EE flags and=20 interrupts? Are you clearing ANSEL to make PORTA digital, as CMCON1 is off at start up? Colin -- cdb, colin@btech-online.co.uk on 22/05/2011 =20 Web presence: www.btech-online.co.uk =20 =20 Hosted by: www.justhost.com.au =20 =20 =20 =20 =20 --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .