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": {
|
"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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue