source: multiio/pcmmio/rootfs/test_adc @ 2a5ffee

Last change on this file since 2a5ffee was 2a5ffee, checked in by Joel Sherrill <joel.sherrill@…>, on 03/18/11 at 13:27:35

2011-03-18 Joel Sherrill <joel.sherrill@…>

  • .cvsignore, Makefile, rootfs/set_adc_modes, rootfs/test_adc: Add root filesystem with test scripts.
  • Property mode set to 100755
File size: 646 bytes
Line 
1#! joel
2
3echo "*** assume dac 4 is connected to ADC 0 ***"
4echo "Cycle from -5v to +5v with one second between on dac 4"
5
6multiio_dac 4 -5.0
7sleep 1
8multiio_adc 0
9
10multiio_dac 4 -4.0
11sleep 1
12multiio_adc 0
13
14multiio_dac 4 -3.0
15sleep 1
16multiio_adc 0
17
18multiio_dac 4 -2.0
19sleep 1
20multiio_adc 0
21
22multiio_dac 4 -1.0
23sleep 1
24multiio_adc 0
25
26multiio_dac 4 0.0
27sleep 1
28multiio_adc 0
29
30multiio_dac 4 1.0
31sleep 1
32multiio_adc 0
33
34multiio_dac 4 2.0
35sleep 1
36multiio_adc 0
37
38multiio_dac 4 3.0
39sleep 1
40multiio_adc 0
41
42multiio_dac 4 4.0
43sleep 1
44multiio_adc 0
45
46multiio_dac 4 5.0
47sleep 1
48multiio_adc 0
49
50echo "Write 0.0v to dac 4"
51multiio_dac 4 0.0
52sleep 1
53multiio_adc 0
54
Note: See TracBrowser for help on using the repository browser.