api:actions:gpi_board
Table of Contents
GPI Board (Actions)
Set pin
Sets the output status for the selected pin.
Parameters
- Param1 - pin number (starts with 1).
- Param2 - new pin status:
- 0, off or false - disable
- 1, on or true - enable
- other values - no changes
Pulse pin
Sends a pulse of the specified duration to the pin output.
Parameters
- Param1-
Trigger Handler
Launches the action handlers (pins) when an input signal is detected.
Parameters
- Param1 pin number (starts with 1).
- Param2 - new pin status:
- 0, off or false - disable
- 1, on or true - enable
- other values - no changes
Do Command
Perform a command that is typical for a particular type of hardware.
Parameters
- Param1 - command name:
- sGPI for Louth decoder
- set for Ember+
For Louth decoder (Param1=sGPI)
- Param2 - Key
- Param3 - ID
- Param4 - Segment
- Param5 - Title
- Param6 - on_air
For Ember+ (Param1=set)
- Param2 - Pin number
- Param3 - Value
- Param4 - not used
- Param5 - not used
- Param6 - not used
api/actions/gpi_board.txt · Last modified: 2023/06/02 07:01 by Victory Gorshkova