]> www.average.org Git - sensor-light.git/blobdiff - msp430/main.c
some attempt of pcb routing
[sensor-light.git] / msp430 / main.c
index fc80ae9b04fdbeeb4e180960ee4b055c34d745db..fa802dd68292ffb5ef9abbbbe17f1a744b02305c 100644 (file)
@@ -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