DCCpp
This is the library version of a program for Arduino to control railroading DCC devices.
TurnoutData Struct Reference

#include "Turnout.h"

Public Attributes

byte tStatus
 
byte subAddress
 
int id
 
int address
 

Detailed Description

Data associated to each Turnout.

Definition at line 19 of file Turnout.h.

Member Data Documentation

int TurnoutData::address

The primary address of the decoder controlling this turnout (0-511).

Definition at line 23 of file Turnout.h.

int TurnoutData::id

The numeric ID (0-32767) of the turnout to control.

Definition at line 22 of file Turnout.h.

byte TurnoutData::subAddress

The sub-address of the decoder controlling this turnout (0-3).

Definition at line 21 of file Turnout.h.

byte TurnoutData::tStatus

Current status of the turnout : 0 for Off, 1 for On.

Definition at line 20 of file Turnout.h.


The documentation for this struct was generated from the following file: