On Fri, 28 Aug 2009 20:33:07 +0200, you 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 ? An old 18F4550 project of mine contains the following // Undocumented by Microchip the disabled (power on default) USB // subsystem must have the internal transceiver disabled to use // RC4 and RC5 as digital inputs. UCFG = 0x08; -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist