You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Does this work:

    SPI2.setup({mosi:B15, sck:B13});
    var disp = require("MAX7219").connect(SPI2, B14, 8);
    var g = Graphics.createArrayBuffer(64, 8, 1);
    g.flip = function() { disp.raw(g.buffer); };
    g.drawString("Hello this is a very long string of text");
    g.flip();
    

    The issue may be that Espruino isn't aware that you want a 4x2 stack of matrices, and just assumes it is 8x1. I don't see anything in the module that would be limited to just 4 matrices.

    If the code above does work then it's not a big problem - it's relatively easy to add some code that will rearrange things into the format that you want.

About

Avatar for Gordon @Gordon started