You are reading a single comment by @maze1980 and its replies. Click here to read the full conversation.
  • setWatch calls a function when the digital input changes, from low to high, from high to low, or in both cases. If you want to read a value every 20ms you'll have to use setInterval. I'd change to:
    1) Run every 10ms using setInterval
    a) read pot
    b)read button/set led
    c) send data

    If you move your fader or not, messages are sent every 10ms.

About

Avatar for maze1980 @maze1980 started