summaryrefslogtreecommitdiff
path: root/output.py
diff options
context:
space:
mode:
authorBen Connors <benconnors@outlook.com>2019-01-24 21:14:02 -0500
committerBen Connors <benconnors@outlook.com>2019-01-24 21:14:02 -0500
commit9b3230d72efc51a504edf102090c219e9dd35f99 (patch)
tree0c6ecfc4c26afda25eda66d5ccdceaf929ebf4d2 /output.py
parentfff5e34c9864532b5e38e70b658eccb0ff35d1d3 (diff)
Move stuff around; fix rendering
- Now actually able to render shows - Maybe able to render chasers - Add untested OLA lighting output - General fixes
Diffstat (limited to 'output.py')
-rw-r--r--output.py27
1 files changed, 0 insertions, 27 deletions
diff --git a/output.py b/output.py
deleted file mode 100644
index b1e88e1..0000000
--- a/output.py
+++ /dev/null
@@ -1,27 +0,0 @@
-"""DMX module.
-
-Defines a generic interface for a DMX interface.
-"""
-
-from abc import ABC, abstractmethod
-
-class LightingOutput(ABC):
- """Generic lighting interface."""
-
- ## Set this to how long it takes to transmit one set of values. May be ignored by client
- ## code
- trans_time = 1
-
-
- @abstractmethod
- def set_values(self, values):
- """Set the current DMX values.
-
- values must be an iterable of the form:
-
- (channel, value), ...
-
- channel entries may not be repeated and each channel will be an instance of
- workspace.Channel. value must be between 0 and 255, inclusive.
- """
- return