LED Display, with PIC 16F84

Status
Not open for further replies.
Before getting onto deeper waters I was trying to wet my feet.
Using a PIC16f84 , i was trying to light up a single 7 segment display to show sequentially 0-9 and back so on.
I used the Lookup command in PIc Basic and again the simple commands
Start:
PortB=$3F
pause 1000

PortB=$06
pause 1000

PortB=$5B
pause 1000

so on
..
..

goto start

all the digits showed sequentially
i had vproblems with f segment of 0 (zero), g segment of 2 and 3
they did not light up. However they lighted up on other digits like 4 , 8
What could possibly be wrong
 
You need to post a schematic of how you hooked up the 7 segment display.
 
It's old but I recalled it from my early 16C54 days. Should be trivial to modify it for the 16F84. It uses the old Parallax assembler though.
 

Attachments

  • HWT4.PDF
    31.5 KB · Views: 309
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…