Skip to content

Screen is set on every USB command #108

Open
@Maxfojtik

Description

@Maxfojtik

At this line you set the entire screen every time a command is parsed:

fill_grid_pixels(&state, &mut matrix);

This is very inefficient when streaming data over the USB connection and makes framerates terrible.

The display is also getting set 32 times a second at this line, even if the animation is already finished.

fill_grid_pixels(&state, &mut matrix);

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