I am trying to create a critical flicker fusion experiment using PsychoPy. I will need to create a basic circuit with an LED light which flickers on and off at a given rate (i.e. 1000 times per second). I do not currently know how to use the software to program a light to do this, and then set up an experiment which will collect behavioral data on PsychoPy.
Participants would be given two stimuli, one after the other. This will be one light which is flickering at an extremely fast pace (35 cycles per second, on/off) and a light which is steady. The participant would have to select which light is flickering. If they get this correct, they would be given the next stimuli (faster flickering light if correct, and slower, if incorrect). This would be a standard staircase procedure.
Has anybody done anything similar to this? I would appreciate any input. Thank you.