]> cloudbase.mooo.com Git - irmp.git/blobdiff - irmpconfig.h
libopencm3: Set PWM duty cycle to 33%. Improve timer handling.
[irmp.git] / irmpconfig.h
index 75d9834ad916814e2f49a483616dbefce789b590..3767de7d399e2545addf8d90deb357fe66908a06 100644 (file)
  *---------------------------------------------------------------------------------------------------------------------------------------------------\r
  */\r
 #elif defined (ARM_STM32)                                               // use C13 as IR input on STM32\r
-#  define IRMP_PORT_LETTER                      C\r
-#  define IRMP_BIT_NUMBER                       13\r
+#  define IRMP_PORT_LETTER                      B\r
+#  define IRMP_BIT_NUMBER                       4\r
 \r
 /*---------------------------------------------------------------------------------------------------------------------------------------------------\r
  * Change hardware pin here for ARM STM32 with libopencm3\r
  *---------------------------------------------------------------------------------------------------------------------------------------------------\r
  */\r
-#elif defined (ARM_OPENCM3)                                             // use C13 as IR input on STM32\r
-#  define IRMP_PORT_LETTER                      C\r
-#  define IRMP_BIT_NUMBER                       13\r
+#elif defined (LIBOPENCM3)\r
+#  define IRMP_PORT_LETTER                      B\r
+#  define IRMP_BIT_NUMBER                       4\r
 \r
 /*---------------------------------------------------------------------------------------------------------------------------------------------------\r
  * Change hardware pin here for Stellaris ARM Cortex M4\r