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 9a01af3 commit 1dbdd36
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .gitignore/error correction
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ def segmentString(string, fill):
s2 += fill
s1.append(s2)
return s1



def printFrames(frames):
frameN = 0
for frame in frames:
Expand All @@ -45,4 +46,10 @@ def printFrames(frames):
print()



def string2frames(string, fill):
frames = []
newString = segmentString(string, fill)
for n in newString:
b = string2bin(n)
frames.append(b)
return frames

0 comments on commit 1dbdd36

Please sign in to comment.