Fidget Hopper Raise

Hey everyone. I am a little lost on how to add my old hopper code to PsychoPy. My experiment is below, but essentially a bird pecks a stimuli x # of times and is presented second stimuli, then the hopper raises for 4 seconds to reward them with birdseed. I attached (dropbox) old hopper code (“shaping”) which has a working version in py

OS (e.g. Win10): IOS

What are you trying to achieve?:
Raise the hopper for 4 seconds during my “reward” routine, then lower.
What did you try to make it work?:
I tried using my original code.

Thank you so much!

Hi There,

I think the forum might need a little more info to help here:

  1. Ther code you have shared is quite alot, so please try to give specific details on the bits of code that are relevant, e.g. what does each of the .py files in your shared dropbox do

  2. how did you previously interact with this code from PsychoPy? e.g. from a fully coded python script or from within builder?

  3. What have you tried already?

Thanks,
Becca