8x8 LED dot matrix scrolling display

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

jgu1
Posts: 1176
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1102 times
Been thanked: 294 times
Contact:

8x8 LED dot matrix scrolling display

Postby jgu1 » Mon Apr 18, 2011 11:54 am

Hi everybody!


Is there anyone here who has tried to do a project with scrolling text in one or more 8x8 dot display, or whether there are examples in the flow code. I've tried searching the web and find many examples which are programmed in another language. I could imagine to be made ​​tables or the like. I've tried to draw and made ​​theories about this, but can not really get any ideas. Something like this:http: http://www.youtube.com/watch?v=GS31K9jcZBM

Only with 8X8 dot LED display´s I have lot of these.


Best regard

Jgu1 :idea: :idea:

User avatar
Benj
Matrix Staff
Posts: 14790
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4752 times
Been thanked: 4358 times
Contact:

Re: 8x8 LED dot matrix scrolling display

Postby Benj » Wed Apr 20, 2011 1:04 pm

Hello,

The way to control something like this is to have a tight loop say controlled via an interrupt that simply reads a data array and outputs the contents to the 8x8 LEDs probably a byte at a time. The interrupt repeats say every 1-5ms and every time it runs it looks at a different array position and updates the value to one row or column on the display. When the interrupt has ran 8 times it starts again with the first row or column and so on.

Then all you have to do in your main program is send values to the data array and they will magically appear on the display.

I have a scaled up version of this in the form of a 24 LED RGB propellor clock which I hope to make available soon as an article. This has 24 LEDs multiplied by 120 segments x 2 (6-bit colour) to give an array of 5760 bytes.

Have a go at getting started and see if you get anywhere.
Let me know if you hit any walls.
These users thanked the author Benj for the post:
jgu1 (Wed Apr 20, 2011 8:43 pm)
Rating: 5%
 

jgu1
Posts: 1176
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1102 times
Been thanked: 294 times
Contact:

Re: 8x8 LED dot matrix scrolling display

Postby jgu1 » Wed Apr 20, 2011 8:41 pm

Hi Ben! :)

Thanks for your thread. I'll try to draw and think. When I find out an idea, I'll announce it here-

I look forward to seeing your project, maybe I can borrow something from there.

Thank you and have a nice Easter. :D


Best regard

jgu1

User avatar
Benj
Matrix Staff
Posts: 14790
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4752 times
Been thanked: 4358 times
Contact:

Re: 8x8 LED dot matrix scrolling display

Postby Benj » Thu Apr 21, 2011 1:05 pm

Let me know if you get stuck and I'll see if I can put together a quick example of how I would do things.