Skip to content

Switch to using pin change interrupts#5

Open
toroidal-code wants to merge 1 commit into
MagpieModular:masterfrom
toroidal-code:master
Open

Switch to using pin change interrupts#5
toroidal-code wants to merge 1 commit into
MagpieModular:masterfrom
toroidal-code:master

Conversation

@toroidal-code
Copy link
Copy Markdown

I was having problems with intermittent flickering of segments of the display, and rewrote it to use Pin Change Interrupts rather than constant polling of the analog mux. It is now very responsive and stable, based on my testing.

There's a bunch of dead code that can be cleaned up as a result of this (and just cleanup in general, such as the removal of elapsedMillis and its library), but I thought that could be left for another PR.

This probably needs to be tested on another uBraids, as I've modded mine to use hardware SPI for the faster framerate/update speed.

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.

1 participant