Your ROOT_URL in app.ini is https://git.ondrovo.com/ but you are visiting http://159.69.29.240:49153/gex/demo-py-examples/src/commit/9f6f2eb198c2329cba5a957e51dc50294555c17c/test_sipo_omicron.py You should set ROOT_URL correctly, otherwise the web may not work correctly.
Example scripts for the Python GEX library
 
 
demo-py-examples/test_sipo_omicron.py

21 lines
359 B

import time
import gex
# sipo example
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()