|
LCC Fusion Project 1.0
LCC Automation
|
#include <PacketRegister.h>
Public Member Functions | |
| void | startSound (char *) volatile |
| void | stopSound (char *) volatile |
| void | setSound (int cab, uint8_t fn, SoundFnToggle, SoundDelay, SoundDuration, Track) volatile |
| processes sound command by issuing fn command(s) immediately and/or queuing for parsing later More... | |
Define a series of registers that can be sequentially accessed over a loop to generate a repeating series of DCC Packets.
Definition at line 39 of file PacketRegister.h.
| void RegisterList::setSound | ( | int | cab, |
| uint8_t | fn, | ||
| SoundFnToggle | fnToggle, | ||
| SoundDelay | soundDelay, | ||
| SoundDuration | sDuration, | ||
| Track | track | ||
| ) | volatile |
processes sound command by issuing fn command(s) immediately and/or queuing for parsing later
| cab | is the cab's number |
| fn | is the fn number |
| fnToggle | indicates whether the sound is being turned on or off |
| soundDelay | is the delay in secs before playing the sound |
| sDuration | is the number of secs to play the sound |
| track | indicates the track (BOTH, MAIN, or PROG) for the command |
Definition at line 451 of file PacketRegister.cpp.


| void RegisterList::startSound | ( | char * | s | ) | volatile |
handles text command to start a sound sequence
| s | text command string |
[Adding a sound sequence]
[Adding a sound sequence]
Definition at line 351 of file PacketRegister.cpp.

| void RegisterList::stopSound | ( | char * | s | ) | volatile |
handles text command to stop a sound sequence
| s | text command string |
Definition at line 278 of file PacketRegister.cpp.
