summaryrefslogtreecommitdiff
path: root/irmpconfig.h
diff options
context:
space:
mode:
authorukw2016-01-12 12:09:16 +0000
committerukw2016-01-12 12:09:16 +0000
commitea29682a628ac3c4d30a4c34a30a00f01c3fb0bd (patch)
treee18076026a66554bc8e1c8471d7d604951d571be /irmpconfig.h
parent173b00a6f5d5c604471f9755d80c9181da15133c (diff)
downloadirmp-ea29682a628ac3c4d30a4c34a30a00f01c3fb0bd.zip
Version 3.0: corrected ESP8266 port, added MBED port, added several main example files
git-svn-id: svn://mikrocontroller.net/irmp@174 aeb2e35e-bfc4-4214-b83c-9e8de998ed28
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
*---------------------------------------------------------------------------------------------------------------------------------------------------
*/