Hi Jens,
I just double-checked the version I sent you and I also found that version didn’t work when checking for whether the response was correct. Sorry about that! I will send you one shortly whose code should work as intended.
Thank you for spotting the typo. Also, I did try using a loop for the two additional blocks, but it would also repeat the between-block text which is something I didn’t want. Is there any way to get it to skip that?
Any reason why you start registering the response after stimulus onset instead of at stimulus onset?
Apologies, I’m not sure what you mean, are you referring to the ‘if correct’ code which decides whether to give the reward feedback?