coil_player (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

modes:
  - mode1

coils:
  coil_1:
    number:
    default_hold_power: 1.0
  coil_2:
    number:
  coil_3:
    number:
    default_hold_power: 1.0

coil_player:
  event1: coil_1
  event2:
    coil_1:
      action: pulse
      pulse_power: 1.0
    coil_2:
      action: pulse
      pulse_power: 0.5
  event3:
    coil_1:
      action: pulse
      pulse_ms: 49
  event4:
    coil_1:
      action: enable
  event5:
    coil_1:
      action: disable
  event6: coil_2
  event7:
    coil_3:
      action: enable
      hold_power: 0.5
  event8:
    coil_3: disable
  event9:
    coil_3: 30
  pulse_1_100:
    coil_1:
      action: pulse
      pulse_ms: 100
  pulse_1_50_max_wait_ms:
    coil_1:
      action: pulse
      pulse_ms: 50
      max_wait_ms: 100

Mode config examples

Here are some example mode config files that go along with the machine-wide config above.

#config_version=5
mode:
  start_events: start_mode1
  stop_events: stop_mode1
  game_mode: False

coil_player:
  event1_mode:
    coil_3: enable