From a1cca9bdad8f2bafc03db809a7c4c39e248f0bff Mon Sep 17 00:00:00 2001 From: Nico Tonnhofer Date: Mon, 3 Apr 2017 23:01:07 +0200 Subject: [PATCH] arduino_stm32: correct channel for pwm --- arduino_stm32f411.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arduino_stm32f411.h b/arduino_stm32f411.h index 5edd7a9..c4fd190 100644 --- a/arduino_stm32f411.h +++ b/arduino_stm32f411.h @@ -241,7 +241,7 @@ #define PB_5_PORT GPIOB #define PB_5_AF 2 #define PB_5_TIMER TIM3 -#define PB_5_CHANNEL 1 +#define PB_5_CHANNEL 2 #define PB_5_INVERT 0 #define PB_6_PIN 6