Closed Fehings closed 1 year ago
can do this with a loop, using time.time() and can set a duty cycle on/off and overall experiement time for an open loop variant. Made a script to demonstrate this (experiment_cycle_openloop.py) will add to this repo. Then will just need to do the oncyc part as a triggered response from breathing so long as we are during the on time of the experiment?
Can do pulse width, mA but need to figure out how to pulse this at xHz