Model Railroad System  2.2.1
Overall User Manaual
OpenLCB program for the MCP23017-based quad signal head HAT

OpenLCB OpenLCB for the MCP23017-based quad signal head HAT

SYNOPSIS

OpenLCB_QuadSignal [-configure] [-sampleconfiguration] [-debug] [-configuration confgile]

DESCRIPTION

This program is a daemon that implements an OpenLCB node for the MCP23017-based quad signal head HAT for the Raspberry Pi. Each signal mast can have 1, 2, or 3 "heads". Each head has four "lamps" (unused lamps can be set to "None"). For a given aspect, a lamp can be on, off, blink, or reverse blink.

PARAMETERS

None

OPTIONS

  • -log logfilename The name of the logfile. Defaults to OpenLCB_QuadSignal.log
  • -configure Enter an interactive GUI configuration tool. This tool creates or edits an XML configuration file.
  • -sampleconfiguration Creates a sample configuration file that can then be hand edited (with a handy text editor like emacs or vim).
  • -configuration confgile Sets the name of the configuration (XML) file. The default is quadsignalconf.xml.
  • -debug Turns on debug logging.

CONFIGURATION

The configuration file for this program is an XML formatted file. Please refer to the OpenLCB Daemons (Hubs and Virtual nodes) chapter of the User Manual for the details on the schema for this XML formatted file. Also note that this program contains a built-in editor for its own configuration file.

AUTHOR

Robert Heller <heller@deepsoft.com>