Add synchronization byte \xAC at the beginning of RGB burst

This commit is contained in:
Petr Baudis 2012-11-16 18:37:24 +01:00
parent 62602ef940
commit 35822a08c9
3 changed files with 11 additions and 2 deletions

View file

@ -54,7 +54,7 @@ def main():
try:
while True:
data = ''
data = '\xAC'
to_read = number*3
while to_read > 0:
read = sys.stdin.read(to_read)