From 13a794b6a5d33122d5bf284fc445e62a26e895f0 Mon Sep 17 00:00:00 2001 From: Eugene Crosser Date: Sat, 6 Jan 2018 22:21:34 +0100 Subject: [PATCH] adjust time to wait and light threshold --- msp430/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2