projects
/
sensor-light.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
662310e
)
adjust time to wait and light threshold
author
Eugene Crosser
<crosser@average.org>
Sat, 6 Jan 2018 21:21:34 +0000
(22:21 +0100)
committer
Eugene Crosser
<crosser@average.org>
Sat, 6 Jan 2018 21:21:34 +0000
(22:21 +0100)
msp430/main.c
patch
|
blob
|
history
diff --git
a/msp430/main.c
b/msp430/main.c
index fc80ae9b04fdbeeb4e180960ee4b055c34d745db..fa802dd68292ffb5ef9abbbbe17f1a744b02305c 100644
(file)
--- 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
8
00
-#define TIME_ON
16
0
+#define LIGHT_THRESHOLD
9
00
+#define TIME_ON
32
0
#ifdef ADCSC /* Let us hope that this is a "new" model */
# define BIT_RL BIT0