Hi all,
I am trying to open a menu with the press of a button. Then with a rotary encoder, make a selection. I can not get my head around how to "create" the infinite "menu" loop and select an item to exit the loop ( or continu depending of the choice I make). I would like to modernize my fathers incubator ( now working with incandescent light bulbs heating and a mechanical thermostat) not very accurate but it is working most of the times. So I gathered some stuff and started buiding.
The code for the menu I have tried is OR showing the menu and is stuck OR is showing the menu only on button press. Maybe someone of you can give me a hint or show me how to continue coding.
I have attached a sort of "flow chart" of what I am trying to achieve and the program code I have so far.
Thanks in advance.
couveuseV1.ino (17.4 KB)
flowChart.pdf (39.5 KB)