mirror of
https://github.com/brendanhaines/ECEN5458_Project.git
synced 2025-09-05 05:55:43 -06:00
WIP: add debug stuff for cal
This commit is contained in:
parent
38a382c45a
commit
549c4609e6
1 changed files with 2 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Reference in a new issue