You are reading a single comment by @Sigma and its replies. Click here to read the full conversation.
  • I connect 2 matrix led( 32 x 16 ) into one big (64 x 16).
    It's rendering order :

    and upload code below:

    SPI2.setup({
      mosi: B15,
      sck: B13
    });
    var disp = require("MAX7219").connect(SPI2, B14, 16);
    
    disp.raw(new Uint8Array([0, 0, 0, 0, 96, 2, 36, 0, 0, 0, 0, 0, 72, 2, 200, 33, 0, 14, 0, 0, 32, 2, 36, 8, 128, 0, 0, 0, 160, 1, 72, 41, 224, 15, 0, 0, 32, 2, 70, 16, 0, 28, 0, 30, 144, 7, 72, 40, 96, 2, 0, 0, 16, 2, 128, 63, 248, 49, 248, 48, 96, 121, 40, 46, 64, 2, 192, 0, 8, 2, 0, 30, 12, 0, 8, 34, 16, 49, 8, 32, 64, 50, 128, 49, 4, 2, 0, 0, 228, 3, 200, 33, 132, 1, 248, 63, 192, 63, 0, 33, 0, 2, 0, 0, 192, 4, 8, 38, 192, 1, 0, 0, 126, 2, 4, 0, 0, 0, 0, 0, 96, 4, 232, 33, 128, 0, 0, 0]).buffer);
    

    the first time I upload , it shows right.
    when i do multiple times , it shows wrong.

    I test it by:

    SPI2.setup({
      mosi: B15,
      sck: B13
    });
    var disp = require("MAX7219").connect(SPI2, B14, 16);
    disp.displayTest(true); 
    // disp.displayTest(false);
    

    it seem has some issues:

    • disp.displayTest(true);

    • disp.displayTest(false);

    What's wrong with it ?

About

Avatar for Sigma @Sigma started