1
0
Fork 0

test loopback 1

This commit is contained in:
Florian Agbuya 2024-09-05 12:32:33 +08:00
parent ba07d6a7de
commit d799fd0d08
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ def perform_loopback_test(test_value):
else: else:
print(f"Loopback test for Channel {channel} FAILED!") print(f"Loopback test for Channel {channel} FAILED!")
print(f"Expected: {test_value}, ADC: {adc_value}, DAC: {dac_value}") print(f"Expected: {test_value}, ADC: {adc_value}, DAC: {dac_value}")
#
def main(): def main():
test_value = 0x0FFF # Mid-range value (4095 in decimal) test_value = 0x0FFF # Mid-range value (4095 in decimal)
perform_loopback_test(test_value) perform_loopback_test(test_value)