Text Scroll MAX7219 Matrix 32x8

Posted on
  • Hi, there is any simple way to scroll text in a 32x8 Led Matrix with MAX7219 controller? Any help will be appreciated.

    Thanks and regards

  • Did you look here as a starting point?

    http://www.espruino.com/MAX7219

  • As @Wilberforce says, take a look at the Multiple chained MAX7219 heading in the link above.

    Then, it's just a matter of something like:

    require("Font6x8").add(Graphics);
    var text = "Hello world with lots and lots of text";
    var x = 0;
    function scroll() {x--;
      if (x<-g.stringWidth(text)) x=g.getWidth();
      g.clear();
      g.drawString(text, x, 0);
      g.flip();
    }
    setInterval(scroll, 20);
    
  • Thanks!!!!

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Text Scroll MAX7219 Matrix 32x8

Posted by Avatar for user54159 @user54159

Actions