Version 3 has been released!

{CH} command

Declares a channel that is to be available on the remote device.

Each channel that is present will be reported in its own {CH} command.

Syntax

{CH}ch type p1 ␑ p2 name ␑ pins

  • ch the number of the channel
  • Type the channel type. One of the following
    • A = Audio
    • ANI = Animation (lights)
    • CAB = Cab control
    • E = A predefined event
    • RGB = Color Light
    • LM = Monochrome Light
    • OLED = OLED display (Small RemoteSign ESP based screens)
    • R = RemoteSign with color display, clock, audio, etc.
    • S = Sensors
    • SIG = Signal
    • TL = Traffic Light
    • TTS = Text to speech (Speech synthesis)
    • STEPPER = Stepper motor control
  • p1 
    • For type OLED,  rows
    • For type S, the number of sensors available
    • For Type SERVER, the port number
    • For type  TL, description
    • For type TTS, number of voices available [draft]
    • For type STEPPER, number of steps per revolution
  • p2
    • For type OLED,  columns
    • For type TTS, voices separated by | [draft]
    • For type STEPPER, minimum delay between pulses
  • name a name of the channel (often provided by the {DCH} command)
  • pins - for RemoteSign ESP devices, a list of pins that the channel uses. 

Note: To enable backward compatibility, traditional RemoteSigns and OLED signs must report their screen on channel 1. (So if Channel 1 is not type R it is not a traditional RemoteSign Windows.) Conversely all RemoteSign screen commands are regarded as being for channel 1.

Examples:

{CH}1␑ R
A classic RemoteSign

{CH}1 ␑ LM ␑ ␑ ␑Platform lights
{CH}2 ␑ LM ␑ ␑ ␑Street lights
A system with two independent lights, one called "Platform lights" and the other "Street lights"

{CH}1␑ E ␑ ␑ ␑ Turntable position 3
Sending an {E}1 command will set the turntable to position 3

{CH}1␑ OLED ␑ 10 ␑32 ␑ Example ␑ D1 D2
Channel 1 drives a 10 row 32 column OLED display called Example 


See also: {CH?} {DCH}

Overview and list of all RemoteSign commands: API reference

Supported by:
RemoteSign Windows
RemoteSign Sequencer
RemoteSign ESP
Arrivals & Departures