forked from M-Labs/nix-servo
test loopback 1
This commit is contained in:
parent
ba07d6a7de
commit
d799fd0d08
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue