summaryrefslogtreecommitdiff
path: root/irmpconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'irmpconfig.h')
-rw-r--r--irmpconfig.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/irmpconfig.h b/irmpconfig.h
index 1b5b024..35caa8c 100644
--- a/irmpconfig.h
+++ b/irmpconfig.h
@@ -6,7 +6,7 @@
* Copyright (c) 2009-2015 Frank Meyer - frank(at)fli4l.de
* Extensions for PIC 12F1820 W.Strobl 2014-07-20
*
- * $Id: irmpconfig.h,v 1.145 2015/11/18 08:27:50 fm Exp $
+ * $Id: irmpconfig.h,v 1.146 2016/01/12 11:53:34 fm Exp $
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -164,6 +164,14 @@
# define IRMP_PIN 1 // use Digital pin 1 as IR input on Teensy
/*---------------------------------------------------------------------------------------------------------------------------------------------------
+ * Change hardware pin here for MBED
+ *---------------------------------------------------------------------------------------------------------------------------------------------------
+ */
+#elif defined(__MBED__)
+# define IRMP_PIN P0_22 // use P1_27 on LPC1347
+# define IRMP_PINMODE PullUp // hardware dependent
+
+/*---------------------------------------------------------------------------------------------------------------------------------------------------
* Handling of unknown target system: DON'T CHANGE
*---------------------------------------------------------------------------------------------------------------------------------------------------
*/