hardware:

Config file section

Valid in machine config files YES
Valid in mode config files NO

The hardware: section of your machine config file is where you configure the options for the physical hardware controller boards that MPF will use.

If you intend to use MPF with physical hardware, at a minimum you’ll have a platform: and driverboards: section in your machine config, like this:

hardware:
   platform: fast
   driverboards: fast

Primary Platform Settings

platform:

Single value, type: string. Default: smart_virtual

Specifies the default platform that will be used by all devices in the config. We say this is the “default” platform, because it’s possible to use more than one platform at time. (Maybe you use a P-ROC for coils and switches and a FadeCandy for RGB LEDs, etc.) See the Mixing-and-Matching hardware platforms for more details on this.

Valid platform options include: (Click on them for direct links to the configuration guide for that platform.)

driverboards:

Single value, type: string.

Specifies the default type of driver boards you’re using. If you have a home brew machine, this will probably match your platform. If you’re using an existing machine, then this will be whatever type of driverboard is installed in the machine.

  • pdb P-ROC Driver Boards, PD-16, PD-8x8, etc.)
  • fast FAST IO boards (0804, 1616, 3208, etc.)
  • opp OPP wing boards
  • wpc95 Williams WPC-95
  • wpc Williams WPC
  • wpcAlphaNumeric Williams WPC with alphanumeric 14-pin connected segmented display
  • sternSAM Stern SAM
  • sternWhitestar Stern Whitestar

Device-specific defaults

The following optional settings can be used to set default platforms for a specific class of devices. Note that virtual and smart_virtual are valid options for all of these, though they are not included in the lists below.

See the MPF compatible control systems / hardware section for details of how to use and setup each of these different types of platforms and hardware.

accelerometers:

Single value, type: string.

  • p3_roc

coils:

Single value, type: string. Default: default

  • p_roc
  • p3_roc
  • fast
  • opp
  • snux

dmd:

Single value, type: string. Default: default

p_roc fast

flashers:

Single value, type: string. Default: default

  • p_roc
  • p3_roc
  • fast
  • opp
  • snux

gis:

Single value, type: string. Default: default

  • fast
  • opp
  • p_roc

i2c:

Single value, type: string.

  • i2c

leds:

Single value, type: string. Default: default

  • p_roc
  • p3_roc
  • fast
  • fadecandy
  • opp
  • openpixel

matrix_lights:

Single value, type: string. Default: default

  • fast
  • p_roc

rgb_dmd:

Single value, type: string. Default: default

  • smartmatrix

servo_controllers:

Single value, type: string.

  • i2c

switches:

Single value, type: string. Default: default

  • p_roc
  • p3_roc
  • fast
  • opp
  • snux