>Sorry. I'm using a 16F628A, 16 I/O-ports according to the datasheet Right. Now look at the datasheet Table 5-1 on page 35. Have you configured the extra functions on those two port pins off or on? -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist