Merge pull request #15 from syspart/patch-2

Looks good to me. Thank you!
pull/1/head
Jürgen Weigert 5 years ago committed by GitHub
commit f060c4ede6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      led-badge-11x44.py

@ -377,7 +377,9 @@ def header(lengths, speeds, modes, blink, ants):
h[8+i] = 16*s[i] + m[i] h[8+i] = 16*s[i] + m[i]
for i in range(len(lengths)): for i in range(len(lengths)):
h[17+2*i] = lengths[i] h[17+(2*i)-1] = lengths[i] // 256
h[17+(2*i)] = lengths[i] % 256
return h return h

Loading…
Cancel
Save