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
Posted: Sun May 03, 2020 9:16 am
List the connections between the 16F877 and the 5641BS.
S1gnature
Joined: 28 Apr 2020 Posts: 22
Posted: Sun May 03, 2020 10:46 am
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
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