Config file section
|Valid in machine config files||YES|
|Valid in mode config files||NO|
spike: section of your machine-wide config is where you
configure hardware options that are specific to the SPIKE interface
when you’re using MPF with a Stern SPIKE machine.
Note that we have a how to guide which includes
all the SPIKE-specific settings throughout your entire
config file, so be sure to read that if you have a SPIKE machine.
hardware: platform: spike spike: port: /dev/ttyUSB0 baud: 115200 debug: False nodes: 0, 1, 8, 9, 10, 116
The following sections are required in the
spike: section of your config:
Use the port of your USB-serial adapter or of the internal serial on the RPi.
This needs to match the value from Step 3 in the MPF SPIKE bridge instructions.
Configure the nodes from your manual. Note that there should always be a node 0 and 1.
The following sections are optional in the
spike: section of your config.
(If you don’t include them, the default will be used).
Set to true for troubleshooting to print more details in the log.
Numeric value of how many times per second MPF will poll the SPIKE
system to check for switch changes. Default is