From 92ea621db67b45225e3ded586dd996e79ce20df0 Mon Sep 17 00:00:00 2001 From: manuel Date: Wed, 3 Mar 2021 12:27:21 +0100 Subject: Update martin --- martin/door/src/hcs200.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'martin/door/src/hcs200.cpp') 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) stream.print("\n"); } -#define PULSE_WIDTH 440 +// pulse width according to chip datasheet +//#define PULSE_WIDTH 440 + +// pulse width according to rtl_433 implementation +// run width: rtl_433 -R 131 +#define PULSE_WIDTH 370 inline void HCS200_Keycode::send(bool value, std::function setOutput) { -- cgit v1.2.3