Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display only 13 characters instead of 14 on 1 line #36

Closed
pierre83 opened this issue Mar 6, 2016 · 2 comments
Closed

Display only 13 characters instead of 14 on 1 line #36

pierre83 opened this issue Mar 6, 2016 · 2 comments

Comments

@pierre83
Copy link

pierre83 commented Mar 6, 2016

With a PCD8544 ( 84 x 48) compliant device.
For example : display.print(F("12345678901234"));
Display : 1234567890123
Display : 4

@bbx10
Copy link

bbx10 commented Mar 12, 2016

This issue is caused by using Adafruit GFX library version1.1.x. Solution 1: Downgrade to version 1.0.2. Solution 2: Turn off text wrap then change print to println where needed. display.setTextWrap(false);
display.printfln("12345678901234");

I ended up using solution 2.

@pierre83
Copy link
Author

Thanks !

Good weekend !
----- Original Message -----
From: bbx10
To: adafruit/Adafruit-PCD8544-Nokia-5110-LCD-library
Cc: pierre83
Sent: Saturday, March 12, 2016 9:39 PM
Subject: Re: [Adafruit-PCD8544-Nokia-5110-LCD-library] Display only 13 characters instead of 14 on 1 line (#36)

This issue is caused by using Adafruit GFX library version1.1.x. Solution 1: Downgrade to version 1.0.2. Solution 2: Turn off text wrap then change print to println where needed. display.setTextWrap(false);
display.printfln("12345678901234");

I ended up using solution 2.


Reply to this email directly or view it on GitHub.

@drak7 drak7 closed this as completed Jul 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants