Changes
/* Sample Python code */
* Python dependencies: pyserial
import serial
ser = serial.Serial("/dev/ttyACM0") ser.write(b"B#FF0000-500#00FF00/-500#0000FF-500\n")
ser.close()
- Note that new line must be addded at the end of the command String