• Just a guess - I'd put line 10 with the w.on setup above the w.startOutput(BZ, 4000); so the event handler is registered before it is started.

About

Avatar for fanoush @fanoush started