Hi. I was allso wondring about the RC word... What does it mean?
And how exactly do I make a external button to set an output without going back to previous state when using momentary buttons? I tought I knew, but still dont.
When a momentary button are pressed it changes state, but it does it again on release... This is probably a dumb question...
I tought I got control of my buttons until yesterday whan I found out that things dont work...
Things work just fine as screen buttons, but not as pokeys unput buttons...
Daz... Please. You know all about this, dont you
An tutorial video for dummies during setup of Pokeys buttons would be just awesome )
Lots of ways you can do buttons, inputs, etc..
Regular button ..... is a momentary. It goes down when clicked and back up when released. Toggle: one press or state change sets the state of something, another press sets another state, another press........ etc.
First find out what state your in then do what ever you want on the next press/state change. For an on screen button do it in the buttons clicked script, for an input button use the sig lib (signal script) in the screen load script. If you want an on screen button and an input button to do the same thing create a function and call it from the on screen button and sig lib. If want a custom m code to do the same thing roll that function into a module and call if from onscreen buttons, input buttons and/or m codes.
Toggle Button....... is a two state button. It has an up and down state that are maintained until the next click. The up state script and properties are what you want the button to do, look like and say when in the up state. Same for down.
You can do any of teh above with dwell by using a timer as Daz has already done such a good job showing.