Why are you only clearing bit 7 in ANSELB? The datasheet says that it =20 defaults to 1111 111- , so all analog. BTW, the 16F1xxx (enhanced 16F) parts have a "movlb" instruction to =20 make bank selects simpler. Cheers, -Neil Quoting jim@jpes.com: > > Let me try this again without all the typos and spelling mistakes. > That's what I get for going too fast. > > All, > > I am trying to get familiar with the PIC16F1827 part that has the > Capacitive Sensing Module on it. > ... > movlw 0x03 ; Make Pins Digital, Not Analog > movwf 0x08 > bcf ANSELB,7 > movlw 0x00 > movwf 0x08 > ... --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .