Library for easy alpha-numeric display on an LED matrix?
- The library should contain a table of common alphanumeric characters (alphabet, numbers, and maybe some symbols)
- A function should call up any number of letters to form words or phrases, like this:
Scroll(H,E,L,L,O,sp,W,O,R,L,D);
- Once the function is called, the text automatically scrolls across the display
- The function can be called from anywhere, like if/then statements, case statements, results of random numbers, etc.
- Additional modifiers, like scrolling left or right, speed, and repetition would be nice to have but not necessary.
I've searched the AVRfreaks forum and various Arduino forums, but haven't found what I'm looking for. So far anything I've found is basically hard-coded bit-banging, making it difficult to change the text and impossible to store more than maybe 100 total characters. My goal, with a set library of characters, is to have the ability to play back hundreds or thousands of characters, arranged as single words or phrases. They should be as easy to change as typing in a new sentence in plain language into the code.
5
answers
|
Answer it!
|
Sorry this is a little late. Here (or maybe I'll email it to you if I can't get the formatting in this post) is code for what you are wanting (I think). It takes a message is a char [ ] and scrolls it across a DLO dot matrix led.
-- The formatting won't work for me so check out this URL --
Code for single letter and delayed scroll
If you need more help or want to add functionality to it, you have my email :)
-gian
/nev/dull
Thanks!
I suspect you could build something similar for these matrix displays, and use a three dimensional (I think) lookup table for each row of each character, and print each row of the character in sequence.
You might need external support electronics setup something like this.
![]() |
































