mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-27 01:56:14 +01:00
ed279a26d8
Separate steaming and parsers
12 lines
360 B
C++
12 lines
360 B
C++
#include <Arduino.h>
|
|
class StringParser
|
|
{
|
|
public:
|
|
static int parse(const char * com, int result[], byte maxResults);
|
|
static void print( const __FlashStringHelper* input...);
|
|
static void send(Stream & serial, const __FlashStringHelper* input...);
|
|
private:
|
|
static void send(Stream & serial, const __FlashStringHelper* input,va_list args);
|
|
|
|
};
|