Compare commits
2 commits
2875997232
...
1868555847
Author | SHA1 | Date | |
---|---|---|---|
|
1868555847 | ||
|
9adb058ead |
3 changed files with 18 additions and 3 deletions
|
@ -3,8 +3,8 @@
|
|||
"nixpkgs": {
|
||||
"type": "Channel",
|
||||
"name": "nixpkgs-unstable",
|
||||
"url": "https://releases.nixos.org/nixpkgs/nixpkgs-24.11pre690413.1366d1af8f58/nixexprs.tar.xz",
|
||||
"hash": "0nlrrs22pf3dr7m55glxxfdg2qn6q9sjsd5dc7bvigasb1v3gw4j"
|
||||
"url": "https://releases.nixos.org/nixpkgs/nixpkgs-24.11pre691017.b69de56fac8c/nixexprs.tar.xz",
|
||||
"hash": "0z32pj0lh5ng2a6cn0qfmka8cynnygckn5615mkaxq2aplkvgzx3"
|
||||
}
|
||||
},
|
||||
"version": 3
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
""""""
|
||||
|
||||
from colour import Color
|
||||
|
||||
from .lights import AbstractLight
|
||||
|
@ -23,6 +24,20 @@ class StrobInv(AbstractLight):
|
|||
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):
|
||||
"""
|
||||
Wash
|
||||
|
|
|
@ -12,7 +12,7 @@ in
|
|||
{
|
||||
dev = pkgs.mkShell {
|
||||
packages = [
|
||||
(pkgs.python310.withPackages (ps: [
|
||||
(pkgs.python3.withPackages (ps: [
|
||||
# build dep
|
||||
ps.pyserial
|
||||
ps.colour
|
||||
|
|
Loading…
Reference in a new issue