autofire (example config files)

Machine config examples

Here are some example machine-wide config files that show real-world examples of how these configs are used.

#config_version=5

switches:
    s_test:
        number: 7
    s_test_disabled:
        number: 8
    s_test_nc:
        number: 1A
        type: 'NC'

coils:
    c_test:
        number: 4
        default_pulse_ms: 23
    c_test2:
        number: 5
        default_pulse_ms: 23
    c_test_disabled:
        number: 6


autofire_coils:
    ac_test:
        coil: c_test
        switch: s_test
    ac_test_inverted:
        coil: c_test2
        switch: s_test_nc
    ac_test_inverted2:
        coil: c_test2
        switch: s_test
        reverse_switch: True
    ac_test_timeout:
        coil: c_test
        switch: s_test
        timeout_watch_time: 1s
        timeout_max_hits: 10
        timeout_disable_time: 500ms
    ac_test_disabled:
        coil: c_test_disabled
        switch: s_test_disabled
        enable_events: enable_autofire
        disable_events: disable_autofire