From 9a01af371a67a93d22c2944a911b6f5302cfdace Mon Sep 17 00:00:00 2001 From: Katherine A Miller Date: Sun, 4 Nov 2018 20:49:34 -0500 Subject: [PATCH] Update error correction --- .gitignore/error correction | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.gitignore/error correction b/.gitignore/error correction index c76c688..f36df7a 100644 --- a/.gitignore/error correction +++ b/.gitignore/error correction @@ -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() + + +