This website works better with JavaScript.
Home
Explore
Help
Sign In
jmg
/
lora-irrigation
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
add algorithm version of the lookup table.
blinkled
John-Mark Gurney
2 years ago
parent
7aeaed651f
commit
cc450a3488
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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)
Write
Preview
Loading…
Cancel
Save