View previous topic :: View next topic |
Author |
Message |
jmaurin
Joined: 29 Mar 2008 Posts: 26 Location: Ribeirão Preto, SP, Brasil
|
LED Scrolling code |
Posted: Sun Aug 03, 2008 11:27 am |
|
|
Hi.
I've made a search and there is a lot of threads about led matrix, but i can't find the exact solution.
I'm build a LED matrix with 10pcs of 8x8 LED MAtrix. The matrix is bicolor, so i have 24 pins from each one (common anode). I know that i must have a tale for each char. My idea is to have this table AND a table of display (8x80) and while the text is displayed, change this main table doing a shift of coluns, so the last colum (right) will be moved do left and a new colum will be inserted. But how do i do that?!
For first time, i'll use only one color, so i can use 1byte for each colum. After, i'll need to create a struct and my table will be of this struct, where each pixel would be 0, 1 or 2 (blanck, red or green).
In the hardware, i'm using Allegros A6279, wich is 16bit current-cink with LED driver up to 90mA per port. It's one chip per display (for bicolor LED's).
Well, my main problem is how do i do the text scrolling over my board :| |
|
|
dyeatman
Joined: 06 Sep 2003 Posts: 1934 Location: Norman, OK
|
|
Posted: Sun Aug 03, 2008 11:38 am |
|
|
Which PIC are you using.
How is the hardware connected? |
|
|
jmaurin
Joined: 29 Mar 2008 Posts: 26 Location: Ribeirão Preto, SP, Brasil
|
|
Posted: Sun Aug 03, 2008 12:14 pm |
|
|
I haven't the hardware built yet, but i'll use 18F4550 and about 6 ports: 3 for columns and 3 for rows. The A6279 is serial and use only these 3 pins to drive 16 ports.
I'll build a function that will get the byte (or bit) and send through CI's. |
|
|
dyeatman
Joined: 06 Sep 2003 Posts: 1934 Location: Norman, OK
|
|
|
|