• XXX.on('yyy', ...) will add an event listener to the list of event listeners, rather than replacing the existing one like I think you intend...

    If you want to remove an event listener, just use USB.removeAllListeners('data')

About

Avatar for Gordon @Gordon started