I do not understand you question.
Do the LEDs light up as expected if PORTB.0 is made high?
I do not understand you question.
Do the LEDs light up as expected if PORTB.0 is made high?
Dave
Always wear safety glasses while programming.
i made led matrix 5 x 9 well im pluging the side which has 5 and the side which has 9 in 4017 decade counter ic and led matrix 5x9 which is 45 leds.and i did 5 cathodes and the 9 anoides, the ic 4017 it need pulsout i conected it to portb.0 the problem i have is i want to send 1 pulse to 4017 during porta feeding the 1st 5 cathodes leds then 2nd 5 leds 2nd pulse to 4017 so on ...bcz led matrix it has 9 lines of 5 leds so i can display scroling txt or anythings,i hope u inderstand and i will try t0 draw a schema ,,
This is the schematic,i need help how to drive this ti write scroling text ,thank u
I do not think the pulsout command is going to work for you, maybe a series of them?
This may help you.
http://delabs-circuits.com/cirdir/th.../doc00020.html
Dave
Always wear safety glasses while programming.
Hello Mus.me,
Here is basically what you do, get some graph paper, lay out 5x9 squares on the paper, and create the characters you want to display. The sides will have a binary value. I use the Port side (the PIC side) as the port output value. I use 8x8 displays as it is easier. the character " 0 " would be comprised of a row value $7e, followed by 3 rows of $81 and finally $7e again. Make up 5 lookup tables which execute sequentally and put the 5 bytes of each character in each. That's how to do it.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
If that's a CD4017, then it can only source about 0.36 ma @ 5V. That's not enough to drive 1 LED, let alone 5.
If it's a 74HC4017, then it can drive 25 ma. Good enough for 1, maybe 2 LED's, or 5 DIM ones.
Some transistors or darlingtons would help.
You might want some resistors in series with the 5 cathodes too.
<br>
DT
Last edited by Mus.me; - 14th July 2009 at 00:55.
Bookmarks