1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-23 16:16:13 +01:00
CommandStation-EX/StringParser.h

12 lines
360 B
C
Raw Normal View History

2020-05-24 20:59:49 +02:00
#include <Arduino.h>
2020-05-25 14:38:18 +02:00
class StringParser
2020-05-24 20:59:49 +02:00
{
2020-05-25 14:38:18 +02:00
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);
2020-05-24 20:59:49 +02:00
};