Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By mbostic
#55525 I would like to make a waterproof ultrasonic sensor at 40khz. Is ESP8266 pwm capable of outputing 40khz?
Using analogWriteFreq and analogWrite gives incorrect frequency if I set it to 40khz. And why can't I use pwm.h interface? I get this error when compiling: undefined reference to pwm_init