PIC18F4550, PortC RC4&RC5 TTL inputs?
PIC18F4550, RC4 and RC5 can be used like digital TTL inputs?
I'm trying to use RC4 and RC5 like digital TTL inputs. According with the specification for PIC18F4550 page 118 (120 pdf) the portC pins RC4 and RC5 can be configured like TTL inputs, but the TRIS register are not implemented for these two pins. On page 117 (119 pdf) where the blue note is, said "To use pins RC4 and RC5 as digital inputs, the USB module must be disable (UCON<3> = 0) and the on-chip USB transceiver must be disabled (UCFG<3> = 1)", I did that, but when I read PORC for RC4 and RC5 read trash, some times high values, some time low values.
What else should a take care to configure rigth these pins?