Skip to content

ledmatrix: Enable sleep pin #48

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

Merged
merged 2 commits into from
Jun 27, 2023
Merged

ledmatrix: Enable sleep pin #48

merged 2 commits into from
Jun 27, 2023

Conversation

JohnAZoidberg
Copy link
Member

@JohnAZoidberg JohnAZoidberg commented Jun 16, 2023

On first hw rev no change.
On second hw rev with pogo pins it'll go to sleep when the sleep pin is low.

@JohnAZoidberg JohnAZoidberg changed the title Update cargo.lock ledmatrix: Enable sleep pin Jun 19, 2023
@JohnAZoidberg
Copy link
Member Author

TODO: Detect if sleep pin is wired up, if not, just ignore it. So that we can support the first hardware revision.

@JohnAZoidberg
Copy link
Member Author

JohnAZoidberg commented Jun 27, 2023

Done!

@zachfeldman would you like to try to verify on your unit? Just to check if the firmware still works well on the old hardware revision.

@JohnAZoidberg
Copy link
Member Author

Btw if you are adventurous you can try to solder up the sleep pin by yourself. Not easy, Harris destroyed one pin while trying to do so. But luckily we have multiple unused ones that we can use, if needed.

Base automatically changed from update-deps to main June 27, 2023 08:07
Turns LEDs off slowly and on slowly when sleep pin goes low/high.

Signed-off-by: Daniel Schaefer <[email protected]>
Early revisions of the hardware didn't have it wired up, if that is the
case we have to ignore its state.

Signed-off-by: Daniel Schaefer <[email protected]>
@JohnAZoidberg
Copy link
Member Author

JohnAZoidberg commented Jun 27, 2023

Works fine on both hw revs.

@JohnAZoidberg JohnAZoidberg merged commit 8bdaf2a into main Jun 27, 2023
@JohnAZoidberg JohnAZoidberg deleted the led-sleep branch June 27, 2023 13:00
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