Sunday, March 14, 2010

Scrolling text on the Dual RG matrix shield

As one may recall, the "Dual RG matrix shield" was introduced as the display for IllyClock. In that case, it showed the time (hour and minutes) statically.

Earlier, I wrote a sketch for this shield that displays moving (scrolling) text. Somebody may find it useful, and that is why I thought of sharing it.

The demo sketch, tested with Arduino IDE 18, can be downloaded here.
This is how it looks in action.


7 comments:

  1. It'll be useful.

    Just what I want to use it for!

    Mowcius

    ReplyDelete
  2. just a minor issue. The ! in the code has the bottom pixel defined wrongly as 0x10 rather than 0x00.

    Mowcius

    ReplyDelete
  3. Hello,
    I don't know why, but when i upload this code on a wiseduino, it displays the text as inverted (black text on orange background)
    And doesn't display the full text (only the 1st statement, and loops back to the beginning)
    do you see any way to fix this ?
    Thanks for your help
    Novino

    ReplyDelete
  4. Are you using the exact same shield? From your description, it sounds to me that you are sourcing current to common-anode matrices. Then the logic should be inverted, as in the "mini RG display shield" shown here:
    http://timewitharduino.blogspot.com/2011/08/new-in-store-bi-color-led-mini-display.html

    ReplyDelete
  5. Well, thank you very much, that solved the problem !
    ... and I was just wondering if you would see any solution to display a full text read from the eeprom on this type of shield ? I feel sorry about this question, but I must admit that display handling is rather tough ! I only have basic robotics programming experience, and it doesn't really help ... I've tried to upload the "Wiseclock basic" sketch, but didn't find any way to make it work .

    ReplyDelete
  6. WiseClockBasic sketch is written for the "8x8 LED matrix shield", introduced here:
    http://timewitharduino.blogspot.com/2009/09/buy-led-matrix-shield-kit.html

    ReplyDelete