Setting up a U8G2 display outside of the menu builder #368
Replies: 3 comments 3 replies
-
Ive been trying to follow the guide found here I have tried to follow the instructions below but am having difficulty to get it to work
Unfortunately I'm currently struggling to get around the following error |
Beta Was this translation helpful? Give feedback.
-
I mean to be honest, this is an advanced topic that requires significant C++ experience, and you'll need to do a lot more manual work than is usual in a tcMenu application. Given this request has come up a few times, it may be worth trying to build something into the core that can detect the U8G2 display at runtime. There's very little information here for me to be able to help you. What generator options did you pick, and what code got generated as a result? It looks to me like the generated code is missing something here. Little here about where the error occurred either. |
Beta Was this translation helpful? Give feedback.
-
Sorry, this one got lost somewhere - #410 was raised to make sure the custom starting point at least compiles on all platforms. |
Beta Was this translation helpful? Give feedback.
-
Good afternoon.
I have been trying to get the display initialised outside/prior to the initialisation of the TCMenu system
I'm looking to use the code found in the post here to auto detect a display and initialise via the U8G2 library
olikraus/u8g2#2088 (reply in thread)
Unfortunately I'm struggling to use a base object with an assigned constructor. It seems my understanding of C++ is still somewhat lacking in this regards. Please could you point me in the right direction so that I can try and get this setup. (Not sure where else I can ask for this obscure request)
Many thanks
Beta Was this translation helpful? Give feedback.
All reactions