Category : usb

I want to control a 16 channel usb relay from python 3.9 on windows 10. I am a complete newbie. The board shows up as USB-SERIAL CH340 (COM4) in the device manager. After a week of searching and scratching my head I found the following code: import serial import time usb_relay = serial.Serial("COM4",9600) if usb_relay.is_open: ..

Read more