You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • I'd say 1000ms is a good start.

    It's not a hard limit at all and there are times you might want to use more, but:

    • digitalPulse is asyncronous - other code will keep executing while it pulses the pin
    • When it's running, Espruino can't enter 'deep sleep' modes, so will use more power
About

Avatar for Gordon @Gordon started