mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-22 23:56:13 +01:00
18 lines
269 B
C++
18 lines
269 B
C++
#ifndef CommParser_h
|
|
#define CommParser_h
|
|
|
|
#include <Arduino.h>
|
|
|
|
const int MAX_PARAMS=8;
|
|
struct StringParser
|
|
{
|
|
static void init();
|
|
static void parse(const char *);
|
|
|
|
private:
|
|
static int parse(const char *, byte);
|
|
static int p[MAX_PARAMS];
|
|
};
|
|
|
|
#endif
|