Hi all,

Much of the electronics work I do is by example... I'm a mechanical guy by trade and I'm designing my second circuit board. Scarry huh?

That said... I'm trying to lay out circuits for a 16f876. I'd like to use portc for a six wire hookup for an LCD display. Most examples I find show the four data lines connected to the upper for bits of a port such as RC7, RC6, RC5, RC4. But TX and RX are on the upper two bits of portC and I'd like to use those for in-circuit programming via max232 and bootloader.

The lines of code (I have seen) used to set up the ports for LCD use in PicBasic Pro do not appear to point to any particular port bits (that I've found). And believe me I've looked.

I am trying to keep portB open for other stuff and portA is being used for analog inputs.

Can someone please point me to the information I am looking for. Or at least tell me if I am on the right track.

How do I tell the processor and PicBasic Pro which individual port BITS I am connecting my six wire LCD to on a 16f876?

I hope this wasn't too stupid a question. :-P

Many thanks,

Ross