Jon Black

Results 48 comments of Jon Black

Thanks for this. Especially that nasty initialization bug. I should be getting my motherboard back in next week so will be able to fix/merge everything in the issue list and...

I'm glad you find the library useful. As you've said, to store the MenuItem strings in Flash memory instead of SRAM you need to use `PROGMEM`. I don't see that...

That page has the following to say about `strcpy_P`: > The strcpy_P function copies a string from program space to a string in RAM ("buffer"). Make sure your receiving string...

In your example I think they are two different menu items: one in the "manual" context and the other in the "program" context. If you really want code reuse, have...

Given your menu structure above, when the current menu is the root "Main Menu", the first line displays "Main Menu" and the second line allows you to scroll through the...

The `MenuSystem` class creates the top-level root menu for you, and it's name is an empty string, so internally your menu structure above looks like the following: ``` * ""...

I prefer the current implementation where the root is created for you. I'll add an extra, optional parameter for setting the name.

I don't see why not. As long as you hold on to the `Menu*` that represents your "Show logs" menu, you should be able to dynamically add `MenuItem*` at runtime....

Since you're showing 5 per page, you could hold on to the five `MenuItem`'s and re-use them every time the page changes . Granted, it's a bit tedious, but I...

Issue #31 will be needed to support dynamic menus. Adding an optional callback when the `Menu` is selected povides a trigger for loading dynamic menu items. Another option is to...