From 3b8d0e786f15ed9c2a0f2460aa1473ae9f6a0b4d Mon Sep 17 00:00:00 2001 From: "R. Steve McKown" Date: Fri, 16 Dec 2011 20:53:55 -0700 Subject: [PATCH] Set auto settings for 20 mins on, 40 mins off Test the timekeeping feature. --- main.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/main.c b/main.c index aefd434..b93a564 100644 --- a/main.c +++ b/main.c @@ -45,13 +45,14 @@ #include "task.h" #include "adc_random.h" -#if 1 -#define AUTO_OFF_COUNT 450 /* 15 mins on*/ -#define AUTO_ON_COUNT 1350 /* 45 mins off */ -#else -#define AUTO_OFF_COUNT 9000U /* 5 hrs in 2 sec units */ -#define AUTO_ON_COUNT 34200U /* 19 hrs in 2 sec units */ -#endif +//#define AUTO_OFF_COUNT 450 /* 15 mins on*/ +//#define AUTO_ON_COUNT 1350 /* 45 mins off */ +#define AUTO_OFF_COUNT 600 /* 20 mins on*/ +#define AUTO_ON_COUNT 1200 /* 40 mins off */ +//#define AUTO_OFF_COUNT 450 /* 2 hours on*/ +//#define AUTO_ON_COUNT 1350 /* 22 hours off */ +//#define AUTO_OFF_COUNT 9000U /* 5 hrs in 2 sec units */ +//#define AUTO_ON_COUNT 34200U /* 19 hrs in 2 sec units */ #define dbgpin_init() do { \ /* Set RA2 as output low */ \ RA2 = 0; \ -- 2.39.2