title: How to implement ESP8266 5 kHz PWM?
body: <p>I need to realise a PWM output with 5 kHz +/- 5%. (Presumably due to a filter circuit into which this feeds over which I have no control.)</p>
  
  <p>Is this realisable with a ESP8266 (ideally with NodeMCU)?</p>
  
  <p>I realise that the software PWM of the ESP8266 has a maximum frequency of 1 kHz while the sigma-delta can be used to implement a PWM with a fixed frequency of about 300 kHz.</p>
  
  <p>So is there a reliable way to achieve 5 kHz? I know some people experimented with the I2S peripheral for waveform output but I am unsure whether it can be used for 5kHz output.</p>
  
  <p>Has anybody looked at into a similar problem before?</p>