inputs: serial: basic serial command inputs
This commit is contained in:
@@ -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();
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user