I need someone to help me understand to get a buzzer working with PWM. Am I right to assume that analogWrite(pin,127) would give me a 50% duty cycle? i have been speaking to my manager about this, and he says I will need to add a off time for this to give a 50% duty cycle.
Off time to create a 50% duty cycle ;
Simply just the one line of code;
Can anyone confirm which is correct.