Implemented a clone of the Tellstick Duo firmware that will wotrk on a Arduino.
So far only supports the Archtech Self Learning protocol. Former-commit-id: 705f787fc30459a9d55dc571632dc4d01e7198f0
This commit is contained in:
parent
3c5da7baaf
commit
e269faec13
11 changed files with 441 additions and 0 deletions
13
arduino/ArduinoTellstickDuo/archtech.h
Normal file
13
arduino/ArduinoTellstickDuo/archtech.h
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#ifndef ARCHTECH_H
|
||||
#define ARCHTECH_H
|
||||
|
||||
#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
|
||||
Loading…
Add table
Add a link
Reference in a new issue