Skip to content

Commit

Permalink
Update error correction
Browse files Browse the repository at this point in the history
  • Loading branch information
kam17049 authored Nov 5, 2018
1 parent 84fab63 commit 9a01af3
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .gitignore/error correction
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,17 @@ def segmentString(string, fill):
s2 += fill
s1.append(s2)
return s1

def printFrames(frames):
frameN = 0
for frame in frames:
charN = 0
for bin in frame:
char = e.bin2char(bin)
print(f"{charN:2}", bin, char)
charN += 1
frameN += 1
print()



0 comments on commit 9a01af3

Please sign in to comment.