Browse Source

add algorithm version of the lookup table.

blinkled
John-Mark Gurney 2 years ago
parent
commit
cc450a3488
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      blinkled/genseq.py

+ 1
- 0
blinkled/genseq.py View File

@@ -65,6 +65,7 @@ def jm3decoder(trits, lastlvl=0):
continue

r.append('%d' % lookup[(lastlvl, lvl)])
#r.append('%d' % ((lvl - lastlvl + 2) % 3))
lastlvl = lvl

return ''.join(r)


Loading…
Cancel
Save