def run_end():
    # Code here is executed when the framework stops running.
    # Turn off all hardware outputs.
    hw.odourDelivery.all_off()
    hw.rewardSol.off()
    hw.speaker.off()
    hw.motionSensor.shut_down()
    hw.off()
Beispiel #2
0
def run_end():
    hw.off()
Beispiel #3
0
def run_end():
    if v.n_rewards>2:
        v.n_till_guide -= 0 
        if v.n_till_guide==0:
            v.n_till_guide = 1
    hw.off()
def run_end():
    hw.off()
    hw.house_light.off()
def run_end():
    # Turn off all hardware outputs.
    hw.off()
Beispiel #6
0
def run_end():
    hw.off()  # Turn off the Hardware
    hw.house_light.off(
    )  # turn off house light - we use reward port SOL to power house light
Beispiel #7
0
def run_end():
    hw.off() # Turn off all outputs.
Beispiel #8
0
def run_end():
    pyb.LED(v.LED_n).off()
    hw.off()
def run_end():
    hw.off()  # Turn off all outputs.
    v.outcome_generator.print_summary()
def run_end():
	#hw.ir_led.off()   
	hw.off() # Turn off hardware outputs.
def run_end():  #turn off all hardware outputs
    hw.off()
Beispiel #12
0
def run_end():
    hw.off()  # Turn off hardware outputs.
Beispiel #13
0
def run_end():
    # Code here is executed when the framework stops running.
    # Turn off all hardware outputs.
    hw.motionSensor.off()
    hw.off()
Beispiel #14
0
def run_end():
    # Turn off all hardware outputs.
    v.prev_session_poke_i = v.poke_i
    hw.off()
Beispiel #15
0
def run_end():
    # Turn off all hardware outputs.
    hw.off(
    )  # turn off house light - we use reward port SOL to power house light