On the E1 mkII (v3.3.2), a lua script previously subscribed to pot events unsubscribing from pot events will still receive pot events.
- Load this preset: Electra One App
- Go to the debugger, set log level to “trace” and start touching the 12 pots - console stays clear!
- Go to the lua script
- Comment line 5
--events.subscribe (POTS)
- Comment line 11-13
--function events.onPotTouch(potId, controlId, touched)
-- test
--end
- Upload the script to the E1
- Go to the debugger, set the log level to “trace” and start touching the 12 pots - you’ll see the following error:
lua: function onPotTouch does not exist