Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

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
 
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.

Latest threads

New Articles From Microcontroller Tips

Back
Top