This uses Python on the PC and Micropython on the Raspberry Pi Pico and implements a Master Slave protocol over the serial port.