I am a newbie to programming (albeit have done some basic programming back in the 90s, mostly on an Amiga lol) and have just got started with Processing and the Arduino.
So far I have found it quite easy to get something very basic working, whereby through the use of firmata and the gui tool I can make a button press perform a sequence of events on the Arduino.
My question relates to how events are queued by the program. If say I assign a led blink to a button, when I run the program I can press the button 'x' number of times and it will blink the led 'x' number of times. However if I click one button and then click another it does not register the clicks of the second button.
I am wanting to use this to build a control interface for a piece of hardware and this means I have two requirements:-
If I start a sequence I want that sequence and only that sequence to execute. If someone gets button happy I don't want it to repeat the sequence, or any other, 'x' number of times.
I need a 'stop' or 'interrupt' button to stop the sequence mid-flow if there is a problem.
I searched on the forum and google but to no avail, probably because the unfortunate clash which can occur on google when looking for help caused by the language being called 'processing' and that word being used for so many other things and other languages.
Can I do this with processing?
If not would you suggest a more suitable language for my application? All I want to do is create a GUI and have that GUI perform a complex sequence of events when asked for my the user.