CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

4-digit 7-segment LED overlapping [Solved]

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
S1gnature



Joined: 28 Apr 2020
Posts: 22

View user's profile Send private message

4-digit 7-segment LED overlapping [Solved]
PostPosted: Sun May 03, 2020 8:26 am     Reply with quote

Hi everyone,
I am working on displaying number and text with a 4-digit 7 segment LED.
The PIC is 16F877A; the 7-segment led part number is 5641BS.
My problem is the LED can display the correct number, but it shows on all 4 places and the numbers are overlapping. Now I'm trying just to make it display at the position I want but no luck. Could you please give some suggestions?
Here is my code for this situation. I use port C to transfer data and port D to control the which LEDs will turn on.

Thank you very much for your time.


Last edited by S1gnature on Sun May 03, 2020 10:39 am; edited 1 time in total
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sun May 03, 2020 9:16 am     Reply with quote

List the connections between the 16F877 and the 5641BS.
S1gnature



Joined: 28 Apr 2020
Posts: 22

View user's profile Send private message

PostPosted: Sun May 03, 2020 10:46 am     Reply with quote

PCM programmer wrote:
List the connections between the 16F877 and the 5641BS.


Thank you for your suggestion. I already checked the pin connection, I made a wrong connection on the IDC cable pin out. Now everything works fine.

Please delete this thread so that moderators and experts can focus supporting on other topics Very Happy
Ttelmah



Joined: 11 Mar 2010
Posts: 19538

View user's profile Send private message

PostPosted: Mon May 04, 2020 2:43 am     Reply with quote

Change the title to include [Solved].
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group