Added oregon v2.1 support to ArduinoTellstick along with some code cleanup

Former-commit-id: d05ee71fa4f2f91afd6452e894385bbcd7020917
This commit is contained in:
Daniel Collin 2016-01-29 10:52:10 +01:00
parent c2d03347ca
commit 1c23a7c360
11 changed files with 391 additions and 116 deletions

View file

@ -3,11 +3,6 @@
#include "Arduino.h"
#define ARCHTECH_LOW_LOW 2 //a "low" is defined as at least this many "low" samples in a row
#define ARCHTECH_LOW_HIGH 7 //a "low" is defined as at most this many "low" samples in a row
#define ARCHTECH_HIGH_LOW 17 //a "high" is defined as at least this many "high" samples in a row
#define ARCHTECH_HIGH_HIGH 23 //a "high" is defined as at most this many "high" samples in a row
bool parseArctechSelfLearning(uint8_t* bufStartP, uint8_t* bufEndP);
#endif //ARCHTECH_H