Does the MPLAB simulator simulate the PORTB pullups? Just trying to test a bit of code before dragging the emulator out. My initial investigations seem to indicate it doesn't. Cheers Mike -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu