On 3/7/07, Alan B. Pearce wrote: > How many bits are there in PORT A? That sounds like there are only 6 bits > (RA0 to RA5) and so the top two bits are not used. Again, you don't say what > chip you are using. Sorry. I'm using a 16F628A, 16 I/O-ports according to the datasheet -- - Rikard. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist