Basic demo of a motor working with PWM