I have a function within a script that calls the init function to effectively ‘start again’ - fine in norns prior to 2.0. Now appears to be ignored - any thoughts ?
No - I’ve noticed that my m.stop() to halt the metro is at fault. What is the syntax now to halt the metro - I’ve tried counter:stop() and metro:stop() both give a script error / load fail. I’m using the code from study 4
function init()
position = 0
counter = metro.init()
counter.time = 1
counter.count = -1
counter.event = count
counter:start()
end
function count(c)
position = position + 1
print(c .. "> " .. position)
end