Heh, it won't be that fast - but doing 50/50 using setInterval would probably work ok. There's some internal stuff for doing digitalPulse that would actually handle it really well.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Heh, it won't be that fast - but doing 50/50 using setInterval would probably work ok. There's some internal stuff for doing digitalPulse that would actually handle it really well.