forked from M-Labs/nix-servo
pyfastservo adc: print 100 times to check test pattern
This commit is contained in:
parent
4940ee52cc
commit
5343b3d45a
@ -155,7 +155,10 @@ def configure_ltc2195():
|
||||
# Performing Word Align
|
||||
perform_bitslip()
|
||||
find_edge()
|
||||
print_adc_channels()
|
||||
|
||||
# Printing it once is not enough to check whether the alignment is correct.
|
||||
for i in range(100):
|
||||
print_adc_channels()
|
||||
|
||||
main_adc_test_mode(spi, False)
|
||||
verify_adc_registers(spi, {0x02: 0x11}) # Verify test mode is off
|
||||
|
Loading…
Reference in New Issue
Block a user