I'm trying to control a relay board (USB RLY08) using a section of python code I found online (https://github.com/jkesanen/usbrly08/blob/master/usbrly08.py). It is currently returning an error which I'm not sure about.
Does anyone have any ideas? I'm not actually needing all the code and instead just wanting to turn a single relay on and off.
Thanks.