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
8x8 LED dot matrix scrolling display
Moderator: Benj
-
- Posts: 1333
- Joined: Tue Oct 06, 2009 9:39 am
- Has thanked: 1135 times
- Been thanked: 299 times
- Contact:
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: 8x8 LED dot matrix scrolling display
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 1333
- Joined: Tue Oct 06, 2009 9:39 am
- Has thanked: 1135 times
- Been thanked: 299 times
- Contact:
Re: 8x8 LED dot matrix scrolling display
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.
Best regard
jgu1
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.
Best regard
jgu1
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: 8x8 LED dot matrix scrolling display
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel