summaryrefslogtreecommitdiffstats
path: root/martin/door/src/hcs200.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'martin/door/src/hcs200.cpp')
-rw-r--r--martin/door/src/hcs200.cpp7
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
170inline void HCS200_Keycode::send(bool value, std::function<void(int)> setOutput) 175inline void HCS200_Keycode::send(bool value, std::function<void(int)> setOutput)
171{ 176{