test loopback 1

This commit is contained in:
Florian Agbuya 2024-09-05 12:32:33 +08:00
parent ba07d6a7de
commit d799fd0d08

View File

@ -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)