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:
Daniel Collin 2016-01-22 17:49:25 +01:00
parent 3c5da7baaf
commit e269faec13
11 changed files with 441 additions and 0 deletions

View file

@ -0,0 +1,14 @@
#ifndef RF_H
#define RF_H
#include "Arduino.h"
#define SILENCE_LENGTH 100 //the number of samples with "low" that represents a silent period between two signals
void parseRadioRXBuffer();
void sendTCodedData(uint8_t* data, uint8_t T_long, uint8_t* timings, uint8_t repeat, uint8_t pause);
void sendSCodedData(uint8_t* data, uint8_t pulseCount, uint8_t repeat, uint8_t pause);
extern volatile bool RFRX;
#endif //RF_H