diff options
| author | manuel <manuel@mausz.at> | 2021-03-03 20:45:01 +0100 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2021-03-03 20:45:01 +0100 |
| commit | 812c9a230aabb45cb7cf6f8a2402c758ade079c3 (patch) | |
| tree | 9ae571ebdd3c0bfe11ef5dd8577622ef8f080cf4 /martin/door/src/hcs200.cpp | |
| parent | 92ea621db67b45225e3ded586dd996e79ce20df0 (diff) | |
| download | arduino-812c9a230aabb45cb7cf6f8a2402c758ade079c3.tar.gz arduino-812c9a230aabb45cb7cf6f8a2402c758ade079c3.tar.bz2 arduino-812c9a230aabb45cb7cf6f8a2402c758ade079c3.zip | |
Change pulsewidth
Diffstat (limited to 'martin/door/src/hcs200.cpp')
| -rw-r--r-- | martin/door/src/hcs200.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/martin/door/src/hcs200.cpp b/martin/door/src/hcs200.cpp index d7e914f..eb69091 100644 --- a/martin/door/src/hcs200.cpp +++ b/martin/door/src/hcs200.cpp | |||
| @@ -166,11 +166,11 @@ void HCS200_Keycode::print(Print &stream) | |||
| 166 | } | 166 | } |
| 167 | 167 | ||
| 168 | // pulse width according to chip datasheet | 168 | // pulse width according to chip datasheet |
| 169 | //#define PULSE_WIDTH 440 | 169 | #define PULSE_WIDTH 400 |
| 170 | 170 | ||
| 171 | // pulse width according to rtl_433 implementation | 171 | // pulse width according to rtl_433 implementation |
| 172 | // run width: rtl_433 -R 131 | 172 | // run width: rtl_433 -R 131 |
| 173 | #define PULSE_WIDTH 370 | 173 | //#define PULSE_WIDTH 370 |
| 174 | 174 | ||
| 175 | 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) |
| 176 | { | 176 | { |
