Wouter van Ooijen wrote: > I am trying to use the RC4 and RC5 pins of an 18F2550 as inputs. The > normal use of these pins is as USB data pins, but the datasheet seems to > state that they can also be digital inputs (but not outputs). Has anyone > done this succesfully? Any settings required, beyond UCON=0 ? > In the "Note" in the grey box on the "PORTC" page in the datasheet, it says : "Note: ... To use pins RC4 and RC5 as digital inputs, the USB module must be disabled (UCON<3> = 0) and the on-chip USB transceiver must be disabled (UCFG<3> = 1)." At least in *my* copy (rev D)... :-) Jan-Erik. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist