Added oregon v2.1 support to ArduinoTellstick along with some code cleanup
Former-commit-id: d05ee71fa4f2f91afd6452e894385bbcd7020917
This commit is contained in:
parent
c2d03347ca
commit
1c23a7c360
11 changed files with 391 additions and 116 deletions
11
arduino/ArduinoTellstickDuo/oregonV2.1.h
Normal file
11
arduino/ArduinoTellstickDuo/oregonV2.1.h
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#ifndef OREGONV21_H
|
||||
#define OREGONV21_H
|
||||
|
||||
#include "Arduino.h"
|
||||
|
||||
void reset();
|
||||
void parseOregonStream(bool level, uint8_t sampleCount);
|
||||
int8_t getByte(bool level, uint8_t count);
|
||||
int8_t getBit(bool level, uint8_t count);
|
||||
|
||||
#endif //OREGONV21_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue