Files

copied
Last update 2 years 9 months by eddyluursema
FilesDCCplusplusDCCpp_Uno_VT100
..
Accessories.cpp
Accessories.h
Comm.h
Config.h
CurrentMonitor.cpp
CurrentMonitor.h
DCCpp_Uno.h
DCCpp_Uno_VT100.ino
EEStore.cpp
EEStore.h
Outputs.cpp
Outputs.h
PacketRegister.cpp
PacketRegister.h
Sensor.cpp
Sensor.h
SerialCommand.cpp
SerialCommand.h
SerialCommand.h
/********************************************************************** SerialCommand.h COPYRIGHT (c) 2013-2016 Gregg E. Berman Part of DCC++ BASE STATION for the Arduino **********************************************************************/ #ifndef SerialCommand_h #define SerialCommand_h #include "PacketRegister.h" #include "CurrentMonitor.h" #define MAX_COMMAND_LENGTH 30 const int MINSPEED = -120; const int MAXSPEED = 120; const int SPEEDSTEP = 20; struct SerialCommand { static char commandString[MAX_COMMAND_LENGTH + 1]; static volatile RegisterList *mRegs, *pRegs; static CurrentMonitor *mMonitor; static void init(volatile RegisterList *, volatile RegisterList *, CurrentMonitor *); static void parse(char *); static void process(); static void testFunctionKeys(char c); }; // SerialCommand #endif
Report a bug