MVMFirmwareCpp
arduino.h
Go to the documentation of this file.
1 #pragma once
2 #ifdef DOXYGEN
3 struct String {
4  String() {}; // ctor
5  String(const char*) {}; // ctor
6  String(int) {}; // ctor
7  String(float, int) {}; // ctor
8  String operator+(String);
9  String operator+(const char*);
10  String operator+=(String);
11  String operator+=(const char*);
12  bool operator==(const char*);
13  int toInt() const;
14  float toFloat() const;
15 };
16 String operator+(const char*, String);
17 struct Serial {
18  void begin(int);
19  bool available();
20  String readStringUntil(char);
21  String readStringUntil(int);
22  void print(const char*);
23  void print(String);
24  void println(const char*);
25  void println(String);
26 } Serial;
27 struct Argument {};
28 struct Command {};
29 struct CommandError {};
30 struct SimpleCLI {
31  void parse(String s);
32 };
33 typedef const char* cmd;
34 typedef const char* cmd_error;
35 #else
36 #include <Arduino.h>
37 #endif
bool available()
Definition: arduino.h:17
String readStringUntil(int)
void begin(int)
String readStringUntil(char)
void parse(String s)
void print(const char *)
const char * cmd_error
Definition: arduino.h:34
void print(String)
void println(const char *)
const char * cmd
Definition: arduino.h:33
void println(String)