diff options
author | Vidister <git@vidister.de> | 2017-07-18 23:32:30 +0200 |
---|---|---|
committer | Vidister <git@vidister.de> | 2017-07-18 23:32:30 +0200 |
commit | f5f7a5ce9b81324f7fb18d178de3897b2ca0632b (patch) | |
tree | 3c95e9f81db8546ae374662a0d226e4283721cf2 | |
parent | fa146e1fe1a5107070520a0af40dcdca4cdbc9bd (diff) | |
download | cccb-klingel-f5f7a5ce9b81324f7fb18d178de3897b2ca0632b.tar.gz cccb-klingel-f5f7a5ce9b81324f7fb18d178de3897b2ca0632b.tar.bz2 cccb-klingel-f5f7a5ce9b81324f7fb18d178de3897b2ca0632b.zip |
Second approach
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7,7 +7,7 @@ #define HZ 15625ULL // Frequency #define TIMEOUT_SEC 4 // time after clicking once till the lamp/bell goes on -#define MIN_PULSE_WIDTH_MS 25 // Time the button needs to be pressed till in ms +#define MIN_PULSE_WIDTH_MS 50 // Time the button needs to be pressed till in ms #define RING_DURATION_SEC 20 // Time the lamp lights up in sec #define OPEN_DURATION_SEC 4 // Door open duration in sec #define THURSDAY_TIMEOUT_MIN 420UL // Minutes till Thursday is disabled |