From: Eugene Crosser Date: Sat, 6 Jan 2018 21:21:34 +0000 (+0100) Subject: adjust time to wait and light threshold X-Git-Url: http://www.average.org/gitweb/?p=sensor-light.git;a=commitdiff_plain;h=13a794b6a5d33122d5bf284fc445e62a26e895f0 adjust time to wait and light threshold --- diff --git a/msp430/main.c b/msp430/main.c index fc80ae9..fa802dd 100644 --- a/msp430/main.c +++ b/msp430/main.c @@ -6,8 +6,8 @@ enum {ev_btn1 = 0, ev_btn2, ev_pir1, ev_pir2, ev_tmr, ev_adc, ev_MAX}; #define PWM_ORDER 10 #define PWM_HALF 5 -#define LIGHT_THRESHOLD 800 -#define TIME_ON 160 +#define LIGHT_THRESHOLD 900 +#define TIME_ON 320 #ifdef ADCSC /* Let us hope that this is a "new" model */ # define BIT_RL BIT0