This repository was archived by the owner on Aug 27, 2022. It is now read-only.
Remote buzzer: Add rotary switch support and button for print#202
Merged
Remote buzzer: Add rotary switch support and button for print#202
Conversation
0ffc4ff to
177bf3e
Compare
7678913 to
295524d
Compare
…oved button.py as obsolete Change-Id: I762be5a96599b641978af0a2135540847ce88988
…IO configuration Change-Id: If54008e0fcafeb23cea9f7137f79ca82ee79764d
2e7f76d to
4b5a307
Compare
andi34
reviewed
Mar 21, 2021
Change-Id: I2003c24030e7dfdb6445fdd6a42e7bcd35b29c95
Change-Id: If5cddbd26598202120f02805de68e1501edfd0da
Change-Id: I616149b5314b63c729863ace184f76acd54100df
Change-Id: I6fe9f68b61e8fd2359d70bee288edd9c227c355f
Change-Id: I6980af1293fbdd9e0d076eeb00ac6085a97c3999
4b5a307 to
22e272a
Compare
Owner
|
Edit: obsolet |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prerequisites checklist
What is the purpose of this pull request? (put an "x" next to an item)
Fix #182
What changes did you make? (Give an overview)
Hardware Button (Remote Buzzer):
1) Added Rotary Switch support and mode for navigating the Photobooth screen.
In rotary mode a rotary encoder (i.e. KY-040) is connected to the GPIOs. Turning the rotary left / right will navigate through the currently visible set of buttons on the screen. Button press on the rotary will activate the currently highlighted button in Photobooth
The wiring layout is
Known limitations:
The following elements are currently not supported and not accessible through the rotary navigation
2) Added hardware button support for PRINT
If operating in Button Mode, now GPIO26 will support to trigger print-out via a hardware button. Printing can be triggered from the results screen or from the Gallery - Photoswipe screen.
Note that for the button to work, printing from results screen and from gallery needs to be enabled in the ' Admin Panel -> Print' section
Is there anything you'd like reviewers to focus on?
Please test the functionality also with a screen locally connected to the Raspberry Pi