mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-09-30 14:04:55 -07:00
baa550037a
## Link to GitHub Issue or related Pull Request, if one exists Fixes #852 ## Description of change Add SDVX valk cab tape LED output over API ## Testing tested with custom python script over api
13 lines
284 B
Python
13 lines
284 B
Python
from .connection import Connection
|
|
from .request import Request
|
|
|
|
|
|
def sdvx_tapeled_get(con: Connection, *light_names):
|
|
req = Request("sdvx", "tapeled_get")
|
|
|
|
for light_name in light_names:
|
|
req.add_param(light_name)
|
|
|
|
res = con.request(req)
|
|
return res.get_data()
|