summaryrefslogtreecommitdiff
path: root/irsndconfig.h
diff options
context:
space:
mode:
authorukw2011-09-06 14:39:56 +0000
committerukw2011-09-06 14:39:56 +0000
commit1f54e86cd05ee6e47b5da32107d191f0983ccf04 (patch)
tree2f83df74aad4457c72b09af6ec8d6281e109428c /irsndconfig.h
parenteae64c5616142a359508a863c3f8f30f97d21daf (diff)
downloadirmp-1f54e86cd05ee6e47b5da32107d191f0983ccf04.zip
version 2.0.0-pre6: added support for ATtiny85, removed support for codevision, added protocol names for logging etc.
git-svn-id: svn://mikrocontroller.net/irmp@76 aeb2e35e-bfc4-4214-b83c-9e8de998ed28
Diffstat (limited to 'irsndconfig.h')
-rw-r--r--irsndconfig.h20
1 files changed, 18 insertions, 2 deletions
diff --git a/irsndconfig.h b/irsndconfig.h
index d3575ec..eb9f1ad 100644
--- a/irsndconfig.h
+++ b/irsndconfig.h
@@ -67,10 +67,26 @@
/*---------------------------------------------------------------------------------------------------------------------------------------------------
- * Change hardware pin here:
+ * DO NOT CHANGE:
*---------------------------------------------------------------------------------------------------------------------------------------------------
*/
-#define IRSND_OC2 1 // 0 = OC2, 1 = OC2A, 2 = OC2B, default is 1
+#define IRSND_OC2 0 // OC2
+#define IRSND_OC2A 1 // OC2A
+#define IRSND_OC2B 2 // OC2B
+#define IRSND_OC0 3 // OC0
+#define IRSND_OC0A 4 // OC0A
+#define IRSND_OC0B 5 // OC0B
+
+/*---------------------------------------------------------------------------------------------------------------------------------------------------
+ * Change hardware pin here: IRSND_OC2 = OC2 on ATmegas supporting OC2, e.g. ATmega8
+ * IRSND_OC2A = OC2A on ATmegas supporting OC2A, e.g. ATmega88
+ * IRSND_OC2B = OC2B on ATmegas supporting OC2B, e.g. ATmega88
+ * IRSND_OC0 = OC0 on ATmegas supporting OC0, e.g. ATmega162
+ * IRSND_OC0A = OC0A on ATmegas/ATtinys supporting OC0A, e.g. ATtiny85
+ * IRSND_OC0B = OC0B on ATmegas/ATtinys supporting OC0B, e.g. ATtiny85
+ *---------------------------------------------------------------------------------------------------------------------------------------------------
+ */
+#define IRSND_OCx IRSND_OC2B // use OC2B
/*---------------------------------------------------------------------------------------------------------------------------------------------------
* Use Callbacks to indicate output signal or something else