37kHz Pulse

So I assumed Electric Imp would have some sort of a hardware timer that I could use to produce a 37kHz frequency, but I can’t seem to find any documentation showing that I can do this.

Can someone verify?

Hard to beat this for $8 …

The precision is probably way more accurate than doing it with imp software.
It’s i2c and has 3 independent outputs. It’s also powered by 3.3V

Sure, that’d be a PWM.


hardware.pin1.configure(PWM_OUT, 1.0/37000, 0.5)

…will output a 37kHz square wave (50% duty cycle) on pin 1.