Adding generateAllLat and also some bug fixes to make the generation work properly

This commit is contained in:
nzkarit
2018-05-06 11:20:24 +12:00
parent 3c618b9e1b
commit 8b51c15ce1
4 changed files with 89 additions and 5 deletions
+4 -4
View File
@@ -51,17 +51,17 @@ def main():
if j == splitNumber:
files += writeFile(directory, filename, filenameExtension, data, k)
data = []
k += 1
j = 0
hackRFScript.write("hackrf_transfer -t %s-%s.iq8s -f 915000000 -s 2000000 -x 10\n" % (filename, k))
k += 1
j = 0
data.append(hex(i))
i += 1
j += 1
files += writeFile(directory, filename, filenameExtension, data, k)
data = []
k += 1
j = 0
hackRFScript.write("hackrf_transfer -t %s-%s.iq8s -f 915000000 -s 2000000 -x 10\n" % (filename, k))
k += 1
j = 0
files = files[:-1]
script.write('files = (%s)\n' % (files))
script.write('for file in files:\n')