I’m building a really simple project (for fun/learning) that converts mouse position into x,y values and then formats them and sends them over UDP.
So far I have a mousemovein, two maths CHOPs to scale x and y, a udpout DAT, and ‘send’ button attached to a panelexec.
The button runs the panelexec which collects the x & y values from the math chops and formats them into a string which gets sent by the udpout.
I’d like to replace the button with a timer such that it just contonously sends the values every 100ms or so. So I think I want to replace the button with a timer.
I’ve been looking at the Operator snippets, but I can’t figure out how to run the panelexec every 100ms from a timer.
Sorry for the simple beginner question!
mouseoutUDP.1.toe (4.9 KB)