> Sorry. I'm using a 16F628A, 16 I/O-ports according to the datasheet Read again. *up to* 16 pins, and IIRC one can only be input. Wouter -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist