You are reading a single comment by @barbiani and its replies. Click here to read the full conversation.
  • Hello,

    I was evaluating if the digitalPulse() (on ESP32 v2.00) timing would meet the requirements of a project and found that:

    pinMode(D32, 'output');
    setInterval(()=> {
          digitalPulse(D5, 1, 2);
    }, 50);

    Produces pulses from about 2096us to 2160us.

    Being generated by hardware I wonder if it can do any better. Maybe the original espruino does not have the jitter?

    Thank you.


Avatar for barbiani @barbiani started