|
DCC-EX Simple Throttle
Simple throttle for a DCC-EX CommandStation
|
#include <Arduino.h>#include <DCCEXProtocol.h>

Go to the source code of this file.
Classes | |
| struct | LocoBroadcast |
| Structure for data from a Loco broadcast. More... | |
| struct | EventData |
| Structure to enable supporting EventData that has various different types Byte - caters for 8 bit unsigned integer data (uint8_t x) Integer - caters for signed integer data (int y) Loco - caters for a pointer to a DCCEXProtocol Loco object (Loco *loco) None - caters for events that contain no data and are notification only When adding new data types: More... | |
| struct | Event |
| Structure for each Event that is published. More... | |
Enumerations | |
| enum | EventType { CommandStationSelected , ReceivedRosterList , LocoSelected , ReadLocoAddress , ReceivedLocoUpdate , ReceivedLocoBroadcast , ReceivedTrackPower , ReceivedReadLoco , ToggleTrackPower , JoinProgTrack , SetPowerMain , SetPowerProg } |
| Enum containing all the event types that subscribers can listen for, and publishers can publish Listeners and publishers must use one of these when creating or listening for a valid Event. More... | |
| enum EventType |
Enum containing all the event types that subscribers can listen for, and publishers can publish Listeners and publishers must use one of these when creating or listening for a valid Event.