1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-12-24 13:21:23 +01:00
CommandStation-EX/StringFormatter.h
Asbelos 68f47dae17 HTTPParser framework
Beware needs uplifted wifi buffer
2020-06-28 12:45:31 +01:00

16 lines
425 B
C++

#ifndef StringFormatter_h
#define StringFormatter_h
#include <Arduino.h>
class StringFormatter
{
public:
static int parse(const char * com, int result[], byte maxResults);
static void print( const __FlashStringHelper* input...);
static void send(Print & serial, const __FlashStringHelper* input...);
private:
static void send2(Print & serial, const __FlashStringHelper* input,va_list args);
};
#endif