Hey! I am looking to implement the following behavior: I want to use the same button to send something on CC 1 when I short press it (toggling the LED blue) but send on CC 2 when I long press it (toggling the LED green). Is that possible?
I am looking at the documentation here ( 2.1: Buttons | Intech Studio Documentation ) but when I try to combine that with my existing press to toggle button logic it says that I need to shorten my code because it has too many characters? Is what I want to do achievable somehow?
Thanks! It almost does what I want. Maybe it’s even better than what I thought I wanted.
However, I cannot save it because it says the active configuration has a syntax error. That happens also with the exact Profile from the cloud with no changes. It does not tell me what or where the error is.
I can see the issue, the ELSEIF block seems to be currently bugged in Editor. Just turning that part of the configuration to code should solve the syntax error issue.