MartinNohr

Results 117 comments of MartinNohr

Thanks, the last solution there should work for me. I didn't want to go back to the standard esp32 sd.h. I found during testing about a year ago that your...

I finally got around to doing some more testing on my system here. I have not found any combination of namespaces and defines as discussed above that work for me....

I have this #include using namespace ArduinoJson #include #include #include #include #include I get this error when compiling: esp_bt_defs.h: 22:1: error: expected ';' before 'extern extern "C" { If it...

Well, that's embarrassing, a missing ; . I've been a programmer using C and C++ (and others) for 40 years. :-) I must be getting old... Anyway, yes, I'm using...

And even more curious, if I select one of those, F12 does take me to the definition correctly, which is what it is supposed to do.

This might be interesting. ![image](https://user-images.githubusercontent.com/987020/94855869-66651d80-03ec-11eb-9d8e-e170577ac9e5.png)

I have several of these being shipped. I'll test as soon as I get them.

Actually, a better suggestion to keep your code more general and just allow subclassing would be to make the following change. protected: int16_t _selected; struct MenuItem_t { String nameAndCaption; const...

I could use the setPick() idea as well. Any idea when this will be impemented? Thanks.

I don't think your code is completely correct. void ezMenu::setItem(int index) { _selected = index; } What happens if the menu was larger and had been scrolled? It doesn't display...