serial::write()Write a string to the serial port
serial::write(data)
data (string) — A string to be written
boolean — Always returns true
import serial
arduino = serial("/dev/ttyACM0")
if !arduino.is_open()
exit(arduino.get_error())
endif
arduino.write("Hello")
arduino.close()