From 772f8ddc9fab0518734327daec3797afe925071b Mon Sep 17 00:00:00 2001 From: Brendan Haines Date: Mon, 2 Mar 2020 13:44:55 -0700 Subject: [PATCH] WIP: properly invert mux signals --- Software/python/hwtest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Software/python/hwtest.py b/Software/python/hwtest.py index 33d429a..a0db413 100644 --- a/Software/python/hwtest.py +++ b/Software/python/hwtest.py @@ -23,7 +23,7 @@ if __name__ == "__main__": chan = int(chan) global mux global adc_mux - mux = np.array(list(f"{chan:04b}"), dtype=int) + mux = 1-np.array(list(f"{chan:04b}"), dtype=int) return adc_mux.voltage while True: