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??
Hello Peter here is the sine structure of the code and the pmw value, here i want to know the relation between the duty cycle and sine signal and change the amplitude to gain more vibrationstatic void LoadValueIntoSinStruct(void){ uint8_t offset=0,di...