Blank Oled on power cycle/ reset #166
-
Hello everyone, |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 17 replies
-
Converted to a discussion. Can you please provide the versions of everything you're using here (if you are using designer 2.2, there is a copy diagnostics option on the help menu). Also include the hardware that you are targetting too please. Also, if you have the lower latency mode checked, can you please check if you have Wire.begin(..) with the right parameters for your board (if any) before calling setupMenu(). We will make this clearer in the documentation, and produce a note during the code generator that this is needed. |
Beta Was this translation helpful? Give feedback.
-
I have a very weird error though. |
Beta Was this translation helpful? Give feedback.
-
It looks like for some reason U8G2 is drawing in XOR mode rather than the usual mode. Please could you share the U8G2 and theme settings that you are using in the code generator? I have a very similar setup, I'll try the same settings and see if I can recreate it. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I am not using any theme |
Beta Was this translation helpful? Give feedback.
-
In terms of the strange rendering behaviour, we'll need to try and recreate it locally first, which theme have you chosen, and what are the theme settings? |
Beta Was this translation helpful? Give feedback.
-
If you mean taking over the display from tcMenu, then you can read about how to do that in the replies above, there's a documentation link for that. Copied again here: https://www.thecoderscorner.com/products/arduino-libraries/tc-menu/renderer-take-over-display/ The only thing you need to make sure of is that the setupMenu() call has been made before taking over the display. |
Beta Was this translation helpful? Give feedback.
-
I think you've misunderstood how analog items work, there's a guide to them here: https://www.thecoderscorner.com/products/arduino-libraries/tc-menu/menu-item-types/analog-menu-item/ EDIT - In short, the value is applied after the offset. So lets say you wanted a range of 100 - 110. The offset would be 100, the maximum would be 10. |
Beta Was this translation helpful? Give feedback.
I think you've misunderstood how analog items work, there's a guide to them here: https://www.thecoderscorner.com/products/arduino-libraries/tc-menu/menu-item-types/analog-menu-item/
EDIT - In short, the value is applied after the offset. So lets say you wanted a range of 100 - 110. The offset would be 100, the maximum would be 10.