• Thank you Gordon
    Testing your code, it does what is expected. However, I have difficulties to link my previous code with your explanation. It probably comes from my ignorance of how Espruino works internally. One additional question: what is the effect of the debounce parameter ? In which use cases shall I use it ?
    Thanks again for your help.
    GB

About

Avatar for GeekBot @GeekBot started