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
15
arduino/ArduinoTellstickDuo/buffer.h
Normal file
15
arduino/ArduinoTellstickDuo/buffer.h
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue