Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

driver exposed to vmcontroller loses configuration on second write #3

Open
martijndeb opened this issue Jan 9, 2018 · 1 comment
Open

Comments

@martijndeb
Copy link
Owner

martijndeb commented Jan 9, 2018

Flip the matrix horizontal or vertical in your config.

setPixel(2,2,255,0,0,1);
write();

Run twice, notice unflipped second pixel appearing.

@martijndeb
Copy link
Owner Author

It's actually the matrix being modified, it should work with a copy instead. Will do that later.
For now exposed he clear function to be able to reset the matrix as a workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant