From: Bernhard Tittelbach Date: Sun, 5 Dec 2010 08:15:26 +0000 (+0000) Subject: higher movement detection threshold X-Git-Url: https://git.realraum.at/?a=commitdiff_plain;h=80afb3f32f654c284702c6eff6d3c756434bde2a;p=svn42.git higher movement detection threshold --- 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