Hi there,
I currently develop a small usermod for the lilygo touch display.
At the moment I read all stored presets and show them in a tumbler element.
By selecting an entry in the tumbler, the preset is activate.
Everything seems to work but the startup time is very high because of getting the list of stored presets.
I didn’t find any suitable interface so I use getPresetName() and iterate over the first 20 idx.
- every call is “slow”
- most of the presets are empty (numbering can have gaps - have gaps)
- I already only count to 20 but a preset can also have no. 121, so I might miss some
I guess there is a much better way to get a list of all preset names :).