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

using numpy for LED matrix #20

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

paddywwoof
Copy link

I am hoping to use the sense hat to display part of a full size image in response to pupil movement. I have modified the sense_hat to use numpy arrays. This is an order of magnitude faster than the python loop methods (alternatively it leaves a lot more processing capacity for the CPU to do other things). It also allows simpler 8x8 arrays of pixels which can be reasonably easily manipulated (i.e. rotation by arbitrary angles etc)

@rzr
Copy link

rzr commented Mar 23, 2021

This change should be rebased, is project still maintained?

@paddywwoof
Copy link
Author

Hi. My sense hat is still happily running as part of radio alarm so not looked at this code for years. But I'm happy to bring it up to date.

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

Successfully merging this pull request may close these issues.

2 participants