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

#include "TextCommand.h"

Static Public Member Functions

static void init (volatile RegisterList *, volatile RegisterList *, CurrentMonitor *)
 
static void parse (char *)
 
static void process ()
 

Static Public Attributes

static char commandString [MAX_COMMAND_LENGTH+1]
 

Detailed Description

DCC++ BASE STATION COMMUNICATES VIA THE SERIAL PORT USING SINGLE-CHARACTER TEXT COMMANDS WITH OPTIONAL PARAMTERS, AND BRACKETED BY < AND > SYMBOLS. SPACES BETWEEN PARAMETERS ARE REQUIRED. SPACES ANYWHERE ELSE ARE IGNORED. A SPACE BETWEEN THE SINGLE-CHARACTER COMMAND AND THE FIRST PARAMETER IS ALSO NOT REQUIRED.

Definition at line 26 of file TextCommand.h.

Member Function Documentation

void TextCommand::parse ( char *  com)
static

THE FOLLOWING COMMANDS ARE NOT NEEDED FOR NORMAL OPERATIONS AND ARE ONLY USED FOR TESTING AND DEBUGGING PURPOSES PLEASE SEE SPECIFIC WARNINGS IN EACH COMMAND BELOW

Definition at line 79 of file TextCommand.cpp.


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