OUTH/DIRH commands for 7-Seg LED
mrdrm130
Posts: 2
I'm a beginner trying to place the 7 segment microprocessor kit onto my boe-bot.· I have it wired up to pins 1 - 8.· I ran the test program in the "What's a Microprocessor?" book and was able to get all of the segments to light up.· In the book, the LED in attached to pins 8-15 and the OUTH and DIRH commands are eight digit commands which I'm assuming correspond to pins 8 - 15.· I've tried various schemes, but I can't get them ,but one which I assume is the eight, to light up.· Any ideas?· Thanks.
Comments
Without a complete description of how the display is wired to the I/O pins and a datasheet for the display, it will be difficult at best to give you any specific suggestions. If you can find a datasheet in PDF format, include a link to it or attach the PDF file to your next message (using Post Reply and the Attachment Manager).
then the 1 appears on P0
Pin Anode
0, B
1, G
2, A
3, C
4, F
6, Decimal Point
8, D
Pin Common Cathode
5, Digit 4
7, Digit 3
11, Digit 2
12, Digit 1
Any hints what to OUT and DIR for the BS2 because I can not understand what to do.
'
OUTH is the upper 8
'
Pins
15,14,13,12,11,10,9,8