From d799fd0d08469d8ab4d780e9ba067b56f29b40e6 Mon Sep 17 00:00:00 2001 From: Florian Agbuya Date: Thu, 5 Sep 2024 12:32:33 +0800 Subject: [PATCH] test loopback 1 --- fast-servo/pyfastservo/loopback.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fast-servo/pyfastservo/loopback.py b/fast-servo/pyfastservo/loopback.py index 52b14b7..6edfb1d 100644 --- a/fast-servo/pyfastservo/loopback.py +++ b/fast-servo/pyfastservo/loopback.py @@ -51,7 +51,7 @@ def perform_loopback_test(test_value): else: print(f"Loopback test for Channel {channel} FAILED!") print(f"Expected: {test_value}, ADC: {adc_value}, DAC: {dac_value}") - +# def main(): test_value = 0x0FFF # Mid-range value (4095 in decimal) perform_loopback_test(test_value)