Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Sharing pin C7 &C6 of PIC16F877a. Help me...

Status
Not open for further replies.

xanseviera

Junior Member level 3
Joined
Jun 22, 2010
Messages
27
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,434
I'm currently doing my project which interfaces with RS232 at pin C7 & C6 in PIC16F877.
At the the same time, pin C0 - C7 also occupied with 7 segment connection.
When I run the project, 7segments' pin that connected wit C7 and C6 aren't lighten up.
I'm using hexadeximal for the programming of 7 segments because it ease me to make 7 segment count.
Since Pin C6 & C7 are functioned as transmit & receive data’s pin.
is it possible for me to share pin C6 & C7 of PIC for both 7 segments and RS232?
How can I solve this problem?

TQ

:D
 

well i just left out c6 and c7 and went for two pins from other ports .... its like you have a total of 7 leds to take care of in ur 7 segment take 4-5 from port c and the rest from port d ... get ur respective codes for various numbers like for 3 it may be like this
PORTD = 0b10111000
PORTC = 0b00110000
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top