How to display 'Text' in the LCD control

Create issue
Issue #35 resolved
Patrick Kutch created an issue

I tried calling setTextMode(true) and then setText(), but it doesn't seem to be working.

I'm likely missing something, would appreciate some guidance. thanx.

Comments (3)

  1. Gerrit Grunwald repo owner

    The problem is that the LcdFont.LCD only contains numbers which is not appropriate for the Textmode. Therefor you have to set the valueFont to something different e.g. LcdFont.DIGITAL or LcdFont.Elektra etc. I modified the code in LcdSkin so that if textMode == true -> setValueFont(LcdFont.Digital). But you can also override this by either using the LcdBuilder.valueFont(LcdFont.Elektra).

  2. Log in to comment