NEWBIE: how to get text onto 2 lines on a 16x2 lcd display

RobH rob at despammer.com
Thu Sep 26 12:26:36 EDT 2019


On 26/09/2019 15:22, Chris Angelico wrote:
> On Thu, Sep 26, 2019 at 9:01 PM RobH <rob at despammer.com> wrote:
>>
>> import Adafruit_CharLCD as LCD
>>
>>
>> # Raspberry Pi pin configuration:
> 
> Ah, it's an RPi with Adafruit. That's the same library that my brother
> uses. I don't know much of the details, but in case it's helpful,
> here's the code that currently runs his subscriber appreciation board:
> 
> https://github.com/stephenangelico/SubBoard/blob/master/lcd_char.py
> 
> You might be able to borrow some ideas from that.
> 
> ChrisA
> 

Thanks and yes it is the adafruit char_lcd.py file I was using, but now 
a modded one to suit my needs.

I see that lcd_char.py is a modded version as well, and I will download 
it to see what I can use from it.

Thanks



More information about the Python-list mailing list