diff options
author | jaseg <jaseg@jaseg.net> | 2014-05-17 00:55:00 +0200 |
---|---|---|
committer | jaseg <jaseg@jaseg.net> | 2014-05-17 00:55:00 +0200 |
commit | 60fcbbc7cd0ad533b7bfd20b367f6eab79cc5d8a (patch) | |
tree | 883e39518888f5f5e0fd641b0a7598ca7df7340b | |
parent | 6503863333020a27a713d28ebc42cf2225dfca28 (diff) | |
download | matelight-60fcbbc7cd0ad533b7bfd20b367f6eab79cc5d8a.tar.gz matelight-60fcbbc7cd0ad533b7bfd20b367f6eab79cc5d8a.tar.bz2 matelight-60fcbbc7cd0ad533b7bfd20b367f6eab79cc5d8a.zip |
Added aus.py
-rwxr-xr-x | host/aus.py | 20 |
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)) + |