mirror of
https://github.com/brendanhaines/ECEN5458_Project.git
synced 2024-11-09 21:14:47 -07:00
WIP: add debug stuff for cal
This commit is contained in:
parent
38a382c45a
commit
549c4609e6
|
@ -62,11 +62,13 @@ def update_data(attrname=None, old=None, new=None):
|
||||||
def cal_white(attrname=None, old=None, new=None):
|
def cal_white(attrname=None, old=None, new=None):
|
||||||
global white_cal
|
global white_cal
|
||||||
white_cal = [get_reflectivity(c) for c in range(8)]
|
white_cal = [get_reflectivity(c) for c in range(8)]
|
||||||
|
print(white_cal)
|
||||||
update_data()
|
update_data()
|
||||||
|
|
||||||
def cal_black(attrname=None, old=None, new=None):
|
def cal_black(attrname=None, old=None, new=None):
|
||||||
global black_cal
|
global black_cal
|
||||||
black_cal = [get_reflectivity(c) for c in range(8)]
|
black_cal = [get_reflectivity(c) for c in range(8)]
|
||||||
|
print(black_cal)
|
||||||
update_data()
|
update_data()
|
||||||
|
|
||||||
cal_white_button = Button(label="Cal White")
|
cal_white_button = Button(label="Cal White")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user