PIC18f2553 C4 and C5 outputs Versus USB

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 7.

Moderator: Benj

alanwms
Posts: 54
Joined: Tue Sep 16, 2008 2:09 pm
Location: Minnesota USA
Has thanked: 3 times
Been thanked: 17 times
Contact:

PIC18f2553 C4 and C5 outputs Versus USB

Postby alanwms » Thu May 09, 2019 11:06 pm

Hello (Ben):

I have difficulties getting the I/O points C4/C5 working correctly, and I think it is due to the USB which is assigned to the same port pins (which are only inputs for me).
I have studied the forum which is where I concluded my issue, and attempted the C code for disabling the USB without success.
I disabled the USB in the project configuration (Flowcode7).

Can you direct me regarding correct C code this for the 18f2553? And more importantly, I have difficulty finding config data. The data sheet doesn't seem to have it - Although has a lot of chip details.

I'm contemplating changing the pins, but only have one spare input available.

Thanks in advance