You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import time
|
|
|
|
import gex
|
|
|
|
with gex.Client(gex.TrxRawUSB()) as client:
|
|
sipo = gex.SIPO(client, 'sipo')
|
|
d4 = gex.DOut(client, 'd4')
|
|
|
|
# Jort the lights
|
|
sipo.load([
|
|
[0x0a, 0x0f],
|
|
[0xF8, 0xFC],
|
|
[0x00, 0x00],
|
|
[0x02, 0x00],
|
|
], end=0x04)
|
|
|
|
d4.write(1)
|
|
# sipo.set_data(0x04)
|
|
# sipo.store()
|
|
|