I have a problem with displays center text. when I am running example of xavier berger lib clock.py almost everything is displaing ok except 3th line where hour I dont know why is at 2th line. but when I change value string from date and time to own text and add another line there is a problem. text disnt display at center but like lcd. text.
changed clock.py file to my code:
Code: Select all
import pcd8544.lcd as lcd
import time, os, sys
if not os.geteuid() == 0:
sys.exit('Script must be run as root')
ON, OFF = [1, 0]
and one more question, why at lcd. py in gotoxy there is x+128, y+64?