Need help with 7-segment display
Jamesonian
Posts: 26
Hello!
I'm new to this forum (and programming) and I need help with the 7-segment display on Chapter 6, activity one,·from, "What's a Microcontroller?", by Andy Lindsay.· I made the circuit and tested it, and it worked fine.· I just·don't understand the pin map from figure 6-2, and how to get the other segments (C through G) working.··Any help would be greatly appreciated.·
James
····
I'm new to this forum (and programming) and I need help with the 7-segment display on Chapter 6, activity one,·from, "What's a Microcontroller?", by Andy Lindsay.· I made the circuit and tested it, and it worked fine.· I just·don't understand the pin map from figure 6-2, and how to get the other segments (C through G) working.··Any help would be greatly appreciated.·
James
····
Comments
Light Segment A - Connect DIP leg 7 to the resistor connected to Vdd while leg 3 is connected to Vss.
Light Segment B - Connect DIP leg 6 to the resistor connected to Vdd while leg 3 is connected to Vss.
Light Segment C - Connect DIP leg 4 to the resistor connected to Vdd while leg 3 is connected to Vss.
Light Segment D - Connect DIP leg 2 to the resistor connected to Vdd while leg 3 is connected to Vss.
Light Segment E - Connect DIP leg 1 to the resistor connected to Vdd while leg 3 is connected to Vss.
Light Segment F - Connect DIP leg 9 to the resistor connected to Vdd while leg 3 is connected to Vss.
Light Segment G - Connect DIP leg 10 to the resistor connected to Vdd while leg 3 is connected to Vss.
Light Segment DP - Connect DIP leg 5 to the resistor connected to Vdd while leg 3 is connected to Vss.
I have attached another diagram of the 7 segment diplay which may give another way to understand how it works.
For the letter 'A' you will light segments:
A,B,C,E,F,G
The letter 'C' will be segments:
A,D,E,F
and so on....
·····
James
When I run a program a second time, the debug window goes away. Help would be appreciated.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Name: Bruce Clemens
Work:· Clemensb@otc.edu
Good Stuff on my Blog: http://theDeadBug.journalspace.com