High frequency PWM
Posted: Thu Sep 22, 2016 12:54 pm
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
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