[Logo] TCC discussion forum
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Top Downloads] Top Downloads   [Groups] Back to home page 
[Register] Register /  [Login] Login 


This forum is read only and new users cannot register, please ask all new questions either using GitHub discussions, or in Arduino forum tagging @davetcc.

When using an LCD display I have noticed that the display is blank RSS feed
Forum Index » tcMenu Arduinio library
Author Message
Admin

[Avatar]

Joined: Jan 19, 2019
Messages: 11
Offline
Copied into here from an email.

I have configured up a standard LCD display over i2c using a 23017 along with a rotary encoder on the same device. Although I can print to serial the status of the menu, and the menu when debug lines are added to serial is rendering properly, the display remains blank.

Configuration:
Genuine MEGA 2560
23017 expander
20x4 display on port B
Rotary encoder and switch on port A
Using standard LCD display renderer. Configuration has been confirmed by moving the lcd initialisation into another sketch and it works there.

TCC forum site administrator.
[WWW] [Twitter]
Admin

[Avatar]

Joined: Jan 19, 2019
Messages: 11
Offline
This is a bug that I've now reproduced on a board with similar configuration. It will be fixed in 1.2 as it is absolutely critical.

TCC forum site administrator.
[WWW] [Twitter]
Admin

[Avatar]

Joined: Jan 19, 2019
Messages: 11
Offline
This bug will be fixed and 1.2 code base will be merged back to master later today.

It was a complex interaction. The IoAbstractionRef relies on a pointer type, for which (logically when thought about) the pointer to the object must occur before it's passed to anything.

However, if you are creating lots of global variables, and relying on ordering and initialisation, it will not always work.

It's an important point and I'll document in the IoAbstraction docs to avoid anyone else hitting this.

TCC forum site administrator.
[WWW] [Twitter]
 
Forum Index » tcMenu Arduinio library
Go to:   
Mobile view
Powered by JForum 2.7.0 © 2020 JForum Team • Maintained by Andowson Chang and Ulf Dittmer

This site uses cookies to analyse traffic, serve ads by Google AdSense (non-personalized in EEA/UK), and to record consent. We also embed Twitter, Youtube and Disqus content on some pages, these companies have their own privacy policies.

Our privacy policy applies to all pages on our site

Should you need further guidance on how to proceed: External link for information about cookie management.