What are you trying to achieve?:
I have built a program that displays two gratings in succession. The base grating will be aligned at 0 degrees, at ‘0’ for opacity, and will flash for a moment before the second grating flashes at a 45 degree angle to the left or right. Participants then select the left or the right key as an answer to the orientation of the second grating in comparison to the first. The staircase set up allows for the angles to narrow down towards 0 degrees as participants answer correctly.
I have created the interleaved staircase no problem, but now my task has become establishing feedback for correct/incorrect answers, as a means of making this program a learning paradigm.
My problem is this: Until I added the feedback routine, the program operated as was supposed to. Now, the program will not run, but is not displaying error codes. According to the following screenshots, are there any apparent mistakes regarding the feedback routine code, or anything else that might be halting progress?