From 50f83ee6bfcdee9358e0ee699b35ed7c9d9f0534 Mon Sep 17 00:00:00 2001 From: Brendan Haines Date: Mon, 2 Mar 2020 13:42:25 -0700 Subject: [PATCH] WIP: change print statement --- Software/python/hwtest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Software/python/hwtest.py b/Software/python/hwtest.py index 63bb81c..33d429a 100644 --- a/Software/python/hwtest.py +++ b/Software/python/hwtest.py @@ -27,8 +27,8 @@ if __name__ == "__main__": return adc_mux.voltage while True: - for ii in range(8): - print(get_reflectivity(ii), end="") + for ii in range(1): + print(f"{get_reflectivity(ii):1.2f}\t", end="") print() # servos = ServoKit(channels=16).continuous_servo