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,15 @@
#ifndef BUFFER_H
#define BUFFER_H
#include "Arduino.h"
uint16_t calculateBufferPointerDistance(uint8_t* bufStartP, uint8_t* bufEndP);
uint8_t* getNextBufferPointer(uint8_t* p);
void stepBufferPointer(uint8_t** p);
extern uint8_t RF_rxBuffer[512]; //must have and even number of elements
extern uint8_t* RF_rxBufferStartP;
extern uint8_t* RF_rxBufferEndP;
extern volatile uint8_t* bufferWriteP;
#endif //BUFFER_H