ArduinoMenu
ArduinoMenu copied to clipboard
Large Menus
I am working on a project which is basically just a configuration interface for an SPI-driven peripheral. I am running into space issues when attempting to implement large choose menus within my code - I understand the limitation of 16 items with the use of macros. So, I followed the dynamic example as a guide to manually implement larger menus, implementing it using constMEM and MEMMODE where applicable but am running into issues with both program space and RAM usage.
Is there any way to make larger menus work using this library?
A basic skeleton of the menu is shown below:
- Root
- Choose (8 options)
- Choose (2 options)
- Choose (2 options)
- Choose (5 options) (These 5 submenus use the same prompts)
-
- Choose (64 options)
-
- Choose (64 options)
-
- Choose (64 options)
-
- Choose (64 options)
-
- Choose (64 options)
-
- Choose (5 options) (These 5 submenus use the same prompts)
-
- Choose (64 options)
-
- Choose (64 options)
-
- Choose (64 options)
-
- Choose (64 options)
-
- Choose (64 options)
-
- Choose (5 options) (These 5 submenus use the same prompts)
-
- Choose (32 options)
-
- Choose (32 options)
-
- Choose (32 options)
-
- Choose (32 options)
-
- Choose (32 options)
-
- Choose (5 options) (These 5 submenus use the same prompts)
-
- Choose (120 options)
-
- Choose (120 options)
-
- Choose (120 options)
-
- Choose (120 options)
-
- Choose (120 options)
-
- Choose (5 options) (These 5 submenus use the same prompts)
-
- Choose (127 options)
-
- Choose (127 options)
-
- Choose (127 options)
-
- Choose (127 options)
-
- Choose (127 options)
-
- Exit
Focusing on that on version 5, for now the SD example uses long lists of files, provided that they are treated all the same with the same handler, differentiate later by index.