NEWBIE: how to get text onto 2 lines on a 16x2 lcd display
RobH
rob at despammer.com
Thu Sep 26 05:14:40 EDT 2019
I have some sample/demo python code for scrolling and outputting text
onto a 16x2 lcd display.
I would like to put my own message or text outputting to the lcd on 2
lines. I have tried using lcd.message('my message',1) and
lcd.message('my message', 2), but the output says:
TypeError: message() takes exactly 2 arguments (3 given)
I have also seen this on the, stackexchange site:
lcd_string("your text " + str(yourVar), 1)
But what is str(yourVar), as I assume it means a variable.
If I could have a working example please, that would be great.
Thanks
More information about the Python-list
mailing list