#ifndef Probe_h
#define Probe_h
#include "Energia.h"
class InputPin;
class Probe {
InputPin* pin;
bool state; // last state
bool transition; // normal mode is active upon transition
uint32_t analogAverage;
bool
debounce();
public:
Probe(
char* data,
String* msgPtr );
~Probe();
bool isValid();
bool probeStop();
void reportDigital( String* msgPtr );
};
#endif