Initialisation depot

This commit is contained in:
Serge NOEL
2026-02-10 11:05:54 +01:00
commit 549c9f388e
55 changed files with 13984 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
/**********************************************************************
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
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();
}; // SerialCommand
#endif