From 549c4609e6ae4ac1451fa2d9a0644c1ce63c8073 Mon Sep 17 00:00:00 2001 From: Brendan Haines Date: Mon, 2 Mar 2020 16:02:46 -0700 Subject: [PATCH] WIP: add debug stuff for cal --- Software/python/hwtest.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Software/python/hwtest.py b/Software/python/hwtest.py index 8f74c8f..6994a4f 100644 --- a/Software/python/hwtest.py +++ b/Software/python/hwtest.py @@ -62,11 +62,13 @@ def update_data(attrname=None, old=None, new=None): def cal_white(attrname=None, old=None, new=None): global white_cal white_cal = [get_reflectivity(c) for c in range(8)] + print(white_cal) update_data() def cal_black(attrname=None, old=None, new=None): global black_cal black_cal = [get_reflectivity(c) for c in range(8)] + print(black_cal) update_data() cal_white_button = Button(label="Cal White")