mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-12-24 21:21:24 +01:00
68f47dae17
Beware needs uplifted wifi buffer
16 lines
425 B
C++
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
|