https://how2electronics.com/stm32-pwm-pulse-width-modulation-tutorial-with-servo-motor/