import time

from pingo.parts import serial

# '/dev/ttyAMA0' is the mini-UART port on the Raspberry Pi
lcd = serial.LCD16x2('/dev/ttyAMA0', 9600)

while True:
    lcd.set_cursor(0, 0)
    lcd.write(time.strftime('%H:%M:%S'))
    time.sleep(1)

@@ -140,16 +140,63 @@
 , 9600)%0A
+time.sleep(.5)  # wait for display to boot up%0A%0A
 %0Awhile T

Update clock.py