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/usart.h
Normal file
13
arduino/ArduinoTellstickDuo/usart.h
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#ifndef USART_H
|
||||
#define USART_H
|
||||
|
||||
#include "Arduino.h"
|
||||
|
||||
void parseSerialForCommand();
|
||||
bool parseRxBuffer(byte* buffer, uint8_t startIndex, uint8_t endIndex, bool debug, uint8_t repeat, uint8_t pause);
|
||||
bool handleSCommand(byte* buffer, uint8_t startIndex, uint8_t endIndex, bool debug, uint8_t repeat, uint8_t pause);
|
||||
bool handleTCommand(byte* buffer, uint8_t startIndex, uint8_t endIndex, bool debug, uint8_t repeat, uint8_t pause);
|
||||
|
||||
extern uint8_t Serial_rxBuffer[79];
|
||||
|
||||
#endif //USART_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue