Hallo guys,
I have a question regarding the buttons. Basically, I would like to make a button that behaves like a toggle but I don't want to use the button mode: toggle.
I want this mostly to handle the led behaviour. I would like to have the led that stays on when I click the first time and then off when I click again.
I understand that I could do this with the code block, but to do so I'd need to store the value of the state of the button.
Is there a way to do so?
thank you in advance