mirror of
https://github.com/brendanhaines/ECEN5458_Project.git
synced 2024-12-27 03:17:06 -07:00
clean up print messages
This commit is contained in:
parent
34abba0129
commit
683c97eb91
|
@ -93,7 +93,8 @@ def control_thread():
|
||||||
while True:
|
while True:
|
||||||
time.sleep(0.01)
|
time.sleep(0.01)
|
||||||
brightness = [get_normalized_reflectivity(c) for c in range(8)]
|
brightness = [get_normalized_reflectivity(c) for c in range(8)]
|
||||||
print(brightness)
|
if debug:
|
||||||
|
print([f"{b:1.2f}" for b in brightness])
|
||||||
ii += 1
|
ii += 1
|
||||||
if ii == 10:
|
if ii == 10:
|
||||||
ii = 0
|
ii = 0
|
||||||
|
|
Loading…
Reference in New Issue
Block a user