Skip to content

Commit

Permalink
Press encoder to skip intro
Browse files Browse the repository at this point in the history
  • Loading branch information
Ancient123 committed Aug 3, 2023
1 parent 7c6ae4c commit 093a082
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Software/Testing/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,9 @@ def update(self, machine):
else:
time.sleep(0.1)
machine.go_to_state("menu")
enc_buttons_event = enc_buttons.events.get()
if enc_buttons_event and enc_buttons_event.pressed:
machine.go_to_state("menu")


class MenuState(State):
Expand Down

0 comments on commit 093a082

Please sign in to comment.