Thank you @Gordon for the explanation, as I'm sure that will help others also. I knew I was on the right thought/concept, just didn't have the know-how for coding the solution. Your snippet is concise and self explanatory. Will work on it/study this weekend.
Any idea of the fastest pulse, shortest duration that might be acceptable for setWatch() to that 100 event limit? These are tid-bits that IMHO should be added to the docs.
© Espruino, powered by microcosm.
Report a problem