aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaseg <code@jaseg.net>2014-05-17 22:33:57 +0200
committerjaseg <code@jaseg.net>2014-05-17 22:33:57 +0200
commitf1ecce75d751cb7a08a34e2683f38dfe7065ef2f (patch)
treecec8aea2f19265cfca0466334ac472f2f1d03ba2
parente74561b9dc4d1c36442c7346807f7c76e57358bd (diff)
parent60fcbbc7cd0ad533b7bfd20b367f6eab79cc5d8a (diff)
downloadmatelight-f1ecce75d751cb7a08a34e2683f38dfe7065ef2f.tar.gz
matelight-f1ecce75d751cb7a08a34e2683f38dfe7065ef2f.tar.bz2
matelight-f1ecce75d751cb7a08a34e2683f38dfe7065ef2f.zip
Merge branch 'master' of matelight:matelight
-rwxr-xr-xhost/aus.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/host/aus.py b/host/aus.py
new file mode 100755
index 0000000..c0bab71
--- /dev/null
+++ b/host/aus.py
@@ -0,0 +1,20 @@
+#!/usr/bin/env python
+
+from socketserver import *
+import socket
+import struct
+import zlib
+from time import time, strftime, sleep
+from collections import namedtuple, deque
+import itertools
+import threading
+import random
+import os
+
+from ctypes import *
+
+from matelight import sendframe, DISPLAY_WIDTH, DISPLAY_HEIGHT, FRAME_SIZE
+
+if __name__ == '__main__':
+ sendframe(bytes([0, 0, 0]*FRAME_SIZE))
+