USB + Serial RGB Backlight Character LCD Backpack Character

EL Wire/Tape/Panels, LEDs, pixels and strips, LCDs and TFTs, etc products from Adafruit

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
noman
 
Posts: 2
Joined: Mon Jul 23, 2012 5:52 pm

USB + Serial RGB Backlight Character LCD Backpack Character

Post by noman »

I've been trying to get the subject to display a full array of 32 characters on a 16x2 display using the sample code provided at:
https://learn.adafruit.com/usb-plus-ser ... ttl-serial

If you replace:
cd.print(" - Adafruit");
with a string of 16 characters like:
cd.print(" - Adafruit23456");
It will only display the second line. If you remove the "6" in the line above, it works fine. How do you overcome this limitation? Thanks.

User avatar
adafruit2
 
Posts: 22144
Joined: Fri Mar 11, 2005 7:36 pm

Re: USB + Serial RGB Backlight Character LCD Backpack Charac

Post by adafruit2 »

try turning off autowrap?
https://learn.adafruit.com/usb-plus-ser ... -reference

search for "auto-line-wrap off"

User avatar
noman
 
Posts: 2
Joined: Mon Jul 23, 2012 5:52 pm

Re: USB + Serial RGB Backlight Character LCD Backpack Charac

Post by noman »

This worked, but you also have to change the "println" to "print". Thanks for the support!

Locked
Please be positive and constructive with your questions and comments.

Return to “Glowy things (LCD, LED, TFT, EL) purchased at Adafruit”