• Ok, great! I guess the other solution is for me to add a setting in Espruino that allows you to completely disable sleep.

    I have made a few changes now which I hope will make this better in the 'cutting edge' build, but somehow I'm still seeing it happen (but just extremely rarely now).

    But yes, if you need a reliable pulse sent out, I'd definitely say use analogWrite (without forceSoft) so you're then using a hardware timer. It'll be completely rock solid then.

About

Avatar for Gordon @Gordon started