Model Railroad System  2.2.2
Overall User Manaual
OpenLCB PiMCP23017 as signal driver node

OpenLCB PiMCP23017 as signal driver node

SYNOPSIS

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

DESCRIPTION

This program is a daemon that implements an OpenLCB node for the GPIO pins provided by a MCP23017 I2C port expander on a Raspberry Pi. This version groups the pins as signal heads. All pins are set as outputs.

PARAMETERS

None

OPTIONS

  • -log logfilename The name of the logfile. Defaults to OpenLCB_PiMCP23017_signal.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 pimcp23017signalconf.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>