import serial import struct # ---------------- CONFIG ---------------- PORT = 'COM3' # aggiorna con la tua COM BAUD = 921600 fmt = '