mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-22 23:56:13 +01:00
aebc35b183
Preparation for Wifi without adding any Wifi specifics.
16 lines
426 B
C++
16 lines
426 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(Stream & serial, const __FlashStringHelper* input...);
|
|
private:
|
|
static void send(Stream & serial, const __FlashStringHelper* input,va_list args);
|
|
|
|
|
|
};
|
|
#endif
|