Search found 1 match

by Reactionic
Thu May 21, 2020 9:58 pm
Forum: General Discussion and Questions
Topic: State machine for LCD menu
Replies: 0
Views: 2016

State machine for LCD menu

I am trying to implement a state machine to display a menu with an 2x16 LCD and joystick to control it. After 15-20 moves I get an error "RuntimeError: maximum recursion depth exceeded". How should I approach that problem? Should I give up using a function for each menu? There will be also submenus....