CAU

- The Model Railway
- - Software
- - - libRailControl
- - - - Constants/Functions
- - - - - Constants
- - - - - Initialisation
- - - - - Block Sections
- - - - - Points
- - - - - Signals
- - - - - Relay
- - - - - Velocity Meters
- - - - - Station Lighting
- - - - - Handling

Station Lighting Control Functions

enginecarcar
int set_lights(int STATE)

The function set_lights() sets station-lighting to the state STATE. Legal state values are the symbolic constants ON and OFF. The initialisation of the library sets the state to OFF.
On successful completion the value SUCCESS is returned, otherwise the value FAILURE.

int get_lights(void);

The function get_lights() returns the state currently set by the last call to the function set_lights().
On successful completion either ON or OFF is returned, otherwise the value FAILURE.


Clemens Grelck
generated on: Mon May 31 10:20:46 MET DST 1999