toggle tap output

8 views
Skip to first unread message

Nick S

unread,
Mar 10, 2026, 3:42:19 PM (13 days ago) Mar 10
to QuadStick
hey. can I make a toggle function that taps a button instead of holds it?

Fred Davison

unread,
Mar 10, 2026, 4:09:55 PM (13 days ago) Mar 10
to Nick S, QuadStick
pulse?

pulse

 
When the input goes from inactive to active, the output will turn on for a brief period of time.  The default is 100ms. An optional parameter for the duration of the pulse, in milliseconds, may be placed in the cell after the word, like "pulse 1500".  An optional second parameter controls the number of pulses delivered.  The default number of pulses is 1.  "pulse 50 2" could be used to "double tap" a trigger.



If I understand what you want, that should do it.


Nick S

unread,
Mar 10, 2026, 5:17:58 PM (13 days ago) Mar 10
to QuadStick
not exactly, I don't think... I want more control over the duration. I want to give an input and have it tap an output until I give the input again 

Fred Davison

unread,
Mar 10, 2026, 5:30:52 PM (13 days ago) Mar 10
to Nick S, QuadStick
taps repeatedly?

pulse 250 5000

Pulse two times per second for 40 minutes

Use a force_off on another row to cancel it early, or switch off to another mode sheet without a copy of the pulse row.


Nick S

unread,
Mar 10, 2026, 5:54:47 PM (13 days ago) Mar 10
to QuadStick
I guess I was seeing if the same input could be the force off, but I can make using a different input work for what I needed. thanks for replying to my beginner questions. I keep forgetting little details
Reply all
Reply to author
Forward
0 new messages