diff options
| author | manuel <manuel@mausz.at> | 2021-03-03 12:27:21 +0100 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2021-03-03 12:27:21 +0100 |
| commit | 92ea621db67b45225e3ded586dd996e79ce20df0 (patch) | |
| tree | bec90b04ffb15b9fdb10339ceccaf508015ae93a /martin/door/src/hcs200.cpp | |
| parent | d3dd8913bdf41e38bbc75b1f5dbe7159650ba80b (diff) | |
| download | arduino-92ea621db67b45225e3ded586dd996e79ce20df0.tar.gz arduino-92ea621db67b45225e3ded586dd996e79ce20df0.tar.bz2 arduino-92ea621db67b45225e3ded586dd996e79ce20df0.zip | |
Update martin
Diffstat (limited to 'martin/door/src/hcs200.cpp')
| -rw-r--r-- | martin/door/src/hcs200.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/martin/door/src/hcs200.cpp b/martin/door/src/hcs200.cpp index 661380a..d7e914f 100644 --- a/martin/door/src/hcs200.cpp +++ b/martin/door/src/hcs200.cpp | |||
| @@ -165,7 +165,12 @@ void HCS200_Keycode::print(Print &stream) | |||
| 165 | stream.print("\n"); | 165 | stream.print("\n"); |
| 166 | } | 166 | } |
| 167 | 167 | ||
| 168 | #define PULSE_WIDTH 440 | 168 | // pulse width according to chip datasheet |
| 169 | //#define PULSE_WIDTH 440 | ||
| 170 | |||
| 171 | // pulse width according to rtl_433 implementation | ||
| 172 | // run width: rtl_433 -R 131 | ||
| 173 | #define PULSE_WIDTH 370 | ||
| 169 | 174 | ||
| 170 | inline void HCS200_Keycode::send(bool value, std::function<void(int)> setOutput) | 175 | inline void HCS200_Keycode::send(bool value, std::function<void(int)> setOutput) |
| 171 | { | 176 | { |
