Try to control BLDC motors with an STM32F4_discovery