Skip to content
Snippets Groups Projects
Commit 250b2859 authored by q3k's avatar q3k
Browse files

python_payload/st3m: remove print statements

parent 7e88dfa0
No related branches found
No related tags found
No related merge requests found
......@@ -69,7 +69,6 @@ class CapTouchDemo(application.Application):
self.dots.append(Dot(size, x.imag, x.real))
def on_draw(self, ctx):
print(self.last_calib)
ctx.rgb(0, 0, 0).rectangle(-120, -120, 240, 240).fill()
for i, dot in enumerate(self.dots):
dot.draw(i, ctx)
......
......@@ -54,7 +54,6 @@ class AppCaptouchCalibrator(application.Application):
def get_formatted_data(self, petal_index):
s = f"P{petal_index}"
for pad_index, pad_data in self.calib_data[petal_index]["pads"].items():
print(pad_index, pad_data)
if pad_data["min"] == pad_data["max"]:
continue
s += f" p{pad_index}:{pad_data['min']}-{pad_data['max']}"
......
......@@ -56,7 +56,6 @@ class AppCaptouchTest(application.Application):
for pad_index in range(4):
v = hardware.captouch_get_petal_pad_raw(petal_index, pad_index)
pad_data = self.calib_data[str(petal_index)]["pads"][str(pad_index)]
print(v, pad_data)
vmin = pad_data["min"]
vmax = pad_data["max"]
......
......@@ -267,7 +267,6 @@ def on_scroll_captouch(d):
if z == -1:
diff = time.ticks_diff(time.ticks_ms(), last)
print(diff)
if diff < 300:
active_menu.enter_menu()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment