aboutsummaryrefslogtreecommitdiffstats
path: root/conf.h
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2019-07-28 16:46:34 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2019-07-28 16:46:34 -0500
commitf8a22ef73eb409d460cf4c4c5948b97ca41026a9 (patch)
tree1cdaec04e4e3a6c3d34db942344ec60f78a646f6 /conf.h
parentd9c1b81f7f28f0b066cae716dcff0a5d511b7fc6 (diff)
Add ADC for LDR to change brightness on ambient light.
Diffstat (limited to 'conf.h')
-rwxr-xr-xconf.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/conf.h b/conf.h
index 4f5f5b3..cbf5468 100755
--- a/conf.h
+++ b/conf.h
@@ -14,7 +14,7 @@
// Use internal crystal at 8MHz
#define _XTAL_FREQ 20000000
-//#define DEBUG 1
+#define DEBUG 1
// Define baud rate of 9600
#define Baud_rate 9600
@@ -36,4 +36,7 @@
#define INCR RE2
//Define Buzz
-#define BEEP RD1 \ No newline at end of file
+#define BEEP RD1
+
+//Define LDR
+#define LDR RA0 \ No newline at end of file