after trying and trying on my own (don´t have programming experience) I hope I can find some hints from you guys.
I would like to program a fixed series of 10 trials. Each trial has the following procedure:
1. Press key to start Arduino (LED on)
2. Wait for 2 seconds (do nothing)
3. present a picture on the screen for 3 seconds
4. Send Signal to Arduino to switch LED off
5. present a rating scale on the screen
6. Wait until user clicks on button
7. If user clicks on button restart (go to next trial)
I thought to control the arduino and present the pictures via processing but I have trouble to teach processing that static sequences. Is there a way to program such simple steps not using while loops all the time to wait for user input etc.?
If you can give me some hint regarding the structure it would be very helpful - thanks a lot!