old_contents: #Install the serial library first
  # sudo apt-get install python-serial
  import serial #Serial port API http://pyserial.sourceforge.net/pyserial_api.html
  import time
  
  port = "/dev/ttyACM0"
  
  SerialIOmbed = serial.Serial(port,9600) #setup the serial port and baudrate
  SerialIOmbed.flushInput()                #Remove old input's
  
  time.sleep(2)   #Wait 2 sek 
  SerialIOmbed.write("\n")
  SerialIOmbed.write("$LCD,Hello Line 1,Hello Line 2\n")
  
  SerialIOmbed.close()
  
  
new_contents: #Install the serial library first
  # sudo apt-get install python-serial
  import serial #Serial port API http://pyserial.sourceforge.net/pyserial_api.html
  import time
  
  port = "/dev/ttyACM0"
  
  SerialIOmbed = serial.Serial(port,9600) #setup the serial port and baudrate
  SerialIOmbed.flushInput()                #Remove old input's
  
  time.sleep(2)   #Wait 2 sek 
  SerialIOmbed.write(b"\n")
  SerialIOmbed.write(b"$LCD,Hello Line 1,Hello Line 2\n")
  
  SerialIOmbed.close()
  
  
subject: Update SerialSendLCDMessage.py