old_contents: import sys
  
  from pingo.parts import serial
  
  DEFAULT_PORT = '/dev/ttyAMA0'  # the mini-UART port on the Raspberry Pi
  
  def main(port=DEFAULT_PORT):
      lcd = serial.LCD16x2(port)
      while True:
          lcd.clear()
          lcd.set_cursor(0, 0)
          msg = raw_input('> ')
          lcd.write(msg)
  
  if __name__ == '__main__':
      main(*sys.argv[1:])
  
new_contents: import sys
  
  from pingo.parts import serial
  
  DEFAULT_PORT = '/dev/ttyAMA0'  # the mini-UART port on the Raspberry Pi
  
  def main(port=DEFAULT_PORT):
      lcd = serial.LCD16x2(port)
      lcd.clear()
      while True:
          msg = raw_input('> ')
          lcd.set_cursor(0, 0)
          lcd.write(msg)
  
  if __name__ == '__main__':
      main(*sys.argv[1:])
  
subject: Update displaymsg.py