Skip to content
Snippets Groups Projects
Commit 5cab0970 authored by daniel's avatar daniel
Browse files

python: Support brightness levels in the test server

parent 87612b5f
No related branches found
No related tags found
No related merge requests found
......@@ -22,8 +22,6 @@ socket.bind("tcp://*:5570")
def set_pixel(x, y, v):
# 1 bit per pixel
if v:
v = 255
v = v/255.0
row = y / 7
if row in [0, 1, 2, 9]:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment