auf die harte tour gelernt...

This commit is contained in:
chrissy 2026-05-18 18:31:05 +02:00
parent 368b2fb2e4
commit 1fd112b036
1 changed files with 39 additions and 35 deletions

View File

@ -170,6 +170,7 @@ def main():
datadict = {}
ser.write(str.encode(f"G1 Z{z_search} F{feedrate}\r\n"))
try:
for y in np.linspace(args.ystart, args.yend, args.ypts,endpoint=True):
if y >= max_y:
@ -200,7 +201,10 @@ def main():
datadict[(x, y)] = data_arr
time.sleep(1)
progress+=1
b.update(progress + 1)
b.update(progress)
except:
pass
finally:
b.finish()
writeCSV(
freq_arr,