summaryrefslogtreecommitdiffstats
path: root/martin/door/src/hcs200.cpp
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2021-03-03 20:45:01 +0100
committermanuel <manuel@mausz.at>2021-03-03 20:45:01 +0100
commit812c9a230aabb45cb7cf6f8a2402c758ade079c3 (patch)
tree9ae571ebdd3c0bfe11ef5dd8577622ef8f080cf4 /martin/door/src/hcs200.cpp
parent92ea621db67b45225e3ded586dd996e79ce20df0 (diff)
downloadarduino-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.cpp4
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
175inline void HCS200_Keycode::send(bool value, std::function<void(int)> setOutput) 175inline void HCS200_Keycode::send(bool value, std::function<void(int)> setOutput)
176{ 176{