I have just started development on ESP8266 platform using arduino. I am trying to generate PWM signal (50% duty cycle) in range of 20KHz to 50KHz.
Till now I am able to generate 20KHz only. Please note that I have tried with analogWrite, ticker and timer1.
Kindly suggest me proper method to generate PWM signal of desired frequency.