30-comedi_ttyUSB0_serial.conf 611 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
driver(serial2002) {
    config {
        /* Parsed by parse_config in libmoberg_serial2002.so */
        device = "/dev/ttyUSB0" ;
        baud = 115200 ;
        timeout = 1 s ;
        timeout = 100 ms ;
        timeout = 10000 us ;
    }
    /* Moberg mapping[indices] = {driver specific}[indices]
      {driver specific} is parsed by parse_map in libmoberg_serial2002.so */
    map analog_in[30:37] = analog_in[0:7] ;
    map analog_out[30:37] = analog_out[0:7] ;
    map digital_in[30:37] = digital_in[0:7] ;
    map digital_out[30:37] = digital_out[0:7] ;
    map encoder_in[30:37] = encoder_in[0:7] ;
}