for enable pc ports sudo chmod a+rw /dev/ttyUSB0 Requires pyfirmata sudo pip3 install pyfirmata eel sudo pip3 install eel