Exemplo n.º 1
0
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()
Exemplo n.º 2
0
def run_end():
    hw.off()
Exemplo n.º 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()
Exemplo n.º 5
0
def run_end():
    # Turn off all hardware outputs.
    hw.off()
Exemplo n.º 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
Exemplo n.º 7
0
def run_end():
    hw.off() # Turn off all outputs.
Exemplo n.º 8
0
def run_end():
    pyb.LED(v.LED_n).off()
    hw.off()
Exemplo n.º 9
0
def run_end():
    hw.off()  # Turn off all outputs.
    v.outcome_generator.print_summary()
Exemplo n.º 10
0
def run_end():
	#hw.ir_led.off()   
	hw.off() # Turn off hardware outputs.
def run_end():  #turn off all hardware outputs
    hw.off()
Exemplo n.º 12
0
def run_end():
    hw.off()  # Turn off hardware outputs.
Exemplo n.º 13
0
def run_end():
    # Code here is executed when the framework stops running.
    # Turn off all hardware outputs.
    hw.motionSensor.off()
    hw.off()
Exemplo n.º 14
0
def run_end():
    # Turn off all hardware outputs.
    v.prev_session_poke_i = v.poke_i
    hw.off()
Exemplo n.º 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