How can I increase the amplitude of the sine wave generated from the pwm of the stm8s003f3 microcontroller ?? Is there any particular formula to calculate that??
I have a haptic button where the vibration has been set as soon as the pwm is genereated, I want to increase the vibration by changing the amplitude of the sine wave generated from the pwm, Can I know how can I do that??