#!/usr/bin/python
import time
import simpleusbrelay

# initialize the library with the idVendor and Product id
relaycontroller=simpleusbrelay(idVendor=16c0, idProduct=05df)
#turn on relay 1
relaycontroller.array_on(1)
#turn of relay 1
relaycontroller.array_off(1)
#!/usr/bin/python
import time
import simpleusbrelay

# initialize the library with the idVendor and Product id
relaycontroller=simpleusbrelay(idVendor=16c0, idProduct=05df)
#turn on relay 1
relaycontroller.array_on(1)
#turn of relay 1
relaycontroller.array_off(1)
#!/usr/bin/python # initialize the library with the idVendor and Product id #turn on relay 1 #turn of relay 1