old_contents: import time
  
  from pingo.parts import serial
  
  # '/dev/ttyAMA0' is the mini-UART port on the Raspberry Pi
  lcd = serial.LCD16x2('/dev/ttyAMA0', 9600)
  time.sleep(.5)  # wait for display to boot up
  
  while True:
      lcd.set_cursor(0, 0)
      lcd.write(time.strftime('%H:%M:%S'))
      time.sleep(1)
  
new_contents: import time
  
  from pingo.parts import serial
  
  # '/dev/ttyAMA0' is the mini-UART port on the Raspberry Pi
  lcd = serial.LCD16x2('/dev/ttyAMA0')
  time.sleep(.5)  # wait for display to boot up
  
  while True:
      lcd.set_cursor(0, 0)
      lcd.write(time.strftime('%H:%M:%S'))
      time.sleep(1)
  
subject: Update clock.py