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

Incorrect number of choices for network setup options #125

Open
forslund opened this issue Dec 12, 2019 · 0 comments
Open

Incorrect number of choices for network setup options #125

forslund opened this issue Dec 12, 2019 · 0 comments

Comments

@forslund
Copy link
Collaborator

The number of choices show 1-6 instead of the listed 5 choices.

penrods added a commit that referenced this issue Dec 16, 2019
This revamps how code is structured for enclosures.  Rather than repeating
code in several places, it now uses objects and inheritance.  The original
attempted to keep all the logic in a single file, but the GPIO objects
already added the need for a user to understand object oriented, so this
step seems reasonable.

The basics heirarchy is:
    Enclosure
        Picroft_Enclosure
            AIY_Enclosure
            Generic_Enclosure
            Matrix_Enclosure
            ReSpeaker_Enclosure

The Picroft_Enclosure contains most of the heavy lifting, with just a little
in the subclasses to tie to the special cases.

The GPIO_Button and GPIO_LED also implement must of the Raspberry Pi behavior.
The Button generates actions for Press, Release, Hold and Double Click.  The
GPIO_LED is a very simple LED which can turn on, off or flash automatically.

Also fixes the typo mentioned in Issue #125
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