Shame about digitalPulse... That would have been ideal. I'll take a look next week and see if there's anything I can do in Espruino - but for now you could just ensure that in your code you never do two consecutive dugitalPulse(1), and instead create a single digital pulse with twice the length? That shouldn't be too trickly?
The other option is actually to use Waveform to output what you need. While it is meant for analog it could also be used for digital if you just used 0 and 255...
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.
Shame about digitalPulse... That would have been ideal. I'll take a look next week and see if there's anything I can do in Espruino - but for now you could just ensure that in your code you never do two consecutive dugitalPulse(1), and instead create a single digital pulse with twice the length? That shouldn't be too trickly?
The other option is actually to use Waveform to output what you need. While it is meant for analog it could also be used for digital if you just used 0 and 255...