Rotary display module #12441
Unanswered
IsaNocNoc
asked this question in
RP2040 / Pico
Replies: 2 comments 1 reply
-
Please enclose the code with 3 backticks ``` to be able to read it properly. What is the problem or error message you get? |
Beta Was this translation helpful? Give feedback.
1 reply
-
While the selected program is running your loop that checks the encoder button value won't be running. So you have two options:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
rotating display module problem
Hello! I am new to using the Raspberry Pi Pico and I am trying to make a menu that uses an encoder and an SSD1306 OLED display in which a list of programs saved in the Pico is displayed and displayed on the display, with the encoder selecting a .py program from a list and execute it are the sw. At the time of execution, it will show the program that is being executed on the display.
The problem starts when I want to try to use the encoder sw again to:
-pause the program that is running (the one that was called)
-go back to the menu and have it work like the first time you run the program
This is the first program:
I tried to give it a solution using the two cores/threads of the rp2040 and it solved the problem of returning to the menu but it presented many problems:
Beta Was this translation helpful? Give feedback.
All reactions