-
• #2
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
- digitalPulse is asyncronous - other code will keep executing while it pulses the pin
In the documentation, it says:
How many milliseconds is too many milliseconds?