inputs: serial: basic serial command inputs

This commit is contained in:
2023-02-18 16:27:24 +01:00
parent 85b42469f9
commit 2c7501f0c2
2 changed files with 42 additions and 3 deletions

View File

@@ -1,12 +1,17 @@
#pragma once
#include "Particle.h"
#include "../Figments/Figments.h"
class SerialInput: public InputSource {
public:
void onAttach() override {
void onStart() override {
//Serial.begin();
}
InputEvent read() {
}
InputEvent read();
private:
String m_buf;
void doCommand();
}