Skip to content

Lots of flickering with fill #18

@abwilson2020

Description

@abwilson2020
var LedMatrix = require("easybotics-rpi-rgb-led-matrix");

//init a 16 rows  by 16 cols led matrix 
//default hardware mapping is 'regular', could be 'adafruit-hat-pwm' ect 
var matrix = new LedMatrix(64, 64, 1, 3, 100, 'adafruit-hat', 'RGB', '--led-slowdown-gpio=4');
console.log(matrix.getHeight());
matrix.fill(255, 50, 100);
matrix.drawLine (0, 0, 64, 64, 0, 0, 255)
matrix.update();
while (true){
}

running this code on my 64x64 set of 3 panels creates a very messy and flickering display. The documentation doesnt really show how to add the cli flags, I am guessing I have it wrong because gpio slowdown should help with it. Beyond that the colors dont even seem to be consistent across the panel. Is there something I am missing or is it just buggy?

Also is there an example file that I can work with for testing the library?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions