From 80afb3f32f654c284702c6eff6d3c756434bde2a Mon Sep 17 00:00:00 2001 From: Bernhard Tittelbach Date: Sun, 5 Dec 2010 08:15:26 +0000 Subject: [PATCH] higher movement detection threshold --- rf433ctl/rf433ctl.pde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rf433ctl/rf433ctl.pde b/rf433ctl/rf433ctl.pde index 9fcdbf2..10dced8 100644 --- a/rf433ctl/rf433ctl.pde +++ b/rf433ctl/rf433ctl.pde @@ -17,7 +17,7 @@ #define PHOTO_ANALOGPIN 0 //movement is reported if during IR_SAMPLE_DURATION at least IR_TRESHOLD ir signals are detectd #define IR_SAMPLE_DURATION 8000 -#define IR_TRESHOLD 6000 +#define IR_TRESHOLD 7500 //duration PanicButton needs to be pressed before status change occurs (i.e. for two PanicButton Reports, the buttons needs to be pressed 1000 cycles, releases 1000 cycles and again pressed 1000 cycles) #define PB_TRESHOLD 1000 #define PHOTO_SAMPLE_INTERVAL 4000 -- 1.7.10.4