Compare commits

..

2 commits

Author SHA1 Message Date
sinavir
1868555847 feat: Add lyre fixture 2024-10-13 20:52:12 +02:00
sinavir
9adb058ead chore: update 2024-10-13 20:52:03 +02:00
3 changed files with 18 additions and 3 deletions

View file

@ -3,8 +3,8 @@
"nixpkgs": { "nixpkgs": {
"type": "Channel", "type": "Channel",
"name": "nixpkgs-unstable", "name": "nixpkgs-unstable",
"url": "https://releases.nixos.org/nixpkgs/nixpkgs-24.11pre690413.1366d1af8f58/nixexprs.tar.xz", "url": "https://releases.nixos.org/nixpkgs/nixpkgs-24.11pre691017.b69de56fac8c/nixexprs.tar.xz",
"hash": "0nlrrs22pf3dr7m55glxxfdg2qn6q9sjsd5dc7bvigasb1v3gw4j" "hash": "0z32pj0lh5ng2a6cn0qfmka8cynnygckn5615mkaxq2aplkvgzx3"
} }
}, },
"version": 3 "version": 3

View file

@ -1,4 +1,5 @@
"""""" """"""
from colour import Color from colour import Color
from .lights import AbstractLight from .lights import AbstractLight
@ -23,6 +24,20 @@ class StrobInv(AbstractLight):
dim = RInt(0, 1) dim = RInt(0, 1)
class Lyre(AbstractLight):
address_size = 14
pan = RInt(0, 0)
tilt = RInt(0, 1)
color = RInt(0, 5)
strobe = RInt(255, 6)
dimmer = RInt(255, 7)
gobo = RInt(0, 8)
gobo_rot = RInt(0, 9)
prism = RInt(0, 12)
zoom = RInt(0, 13)
class Wash(AbstractLight): class Wash(AbstractLight):
""" """
Wash Wash

View file

@ -12,7 +12,7 @@ in
{ {
dev = pkgs.mkShell { dev = pkgs.mkShell {
packages = [ packages = [
(pkgs.python310.withPackages (ps: [ (pkgs.python3.withPackages (ps: [
# build dep # build dep
ps.pyserial ps.pyserial
ps.colour ps.colour