Help with 7 segment dighital display
um..., Hi
Posts: 64
Hey,
I got the, Whats a microcontroler? an intro to paralax basic, recently and i am working with the 7 seg. display, but the B segment wont light up i am using the OUTH, DITH commands i have tried multiple resistors but i just cant get it to light up!
any help, much appreciated
I got the, Whats a microcontroler? an intro to paralax basic, recently and i am working with the 7 seg. display, but the B segment wont light up i am using the OUTH, DITH commands i have tried multiple resistors but i just cant get it to light up!
any help, much appreciated
Comments
Make sure you've built the circuit on page 169 correctly - there is NO connection to pin 8 on the LED display!
(again)any help, much appreciated
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I wish i knew how to put a pic here! Oh, well!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I wish i knew how to put a pic here! Oh, well!
HIGH 15
It is the same as doing this:
OUT15 = 1
DIR15 = 1
Notice that second line? It makes the pin an output.· If you're going to be writing to the OUTS register directly, you must setup DIRS the way you need.· So, if you want all the OUTH (P8 - P15) pins to be outputs, you need to do this:
DIRH = %11111111
And in case you don't like counting 1s (that could be the problem, you left a "1" out of the DIRH defintion), you can use HEX:
DIRH = $FF
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I wish i knew how to put a pic here! Oh, well!