def start_cb():
    codey.stop_other_scripts()
    while True:
        codey.display.show(rocky.color_ir_sensor.is_obstacle_ahead())
def on_button_c_callback():
    codey.stop_other_scripts()
    codey.display.show("yaw")
    while True:
        print(neurons.gyro_sensor.get_yaw())
        time.sleep(0.05)
def button_b_cb():
    codey.stop_other_scripts()
    while True:
        print("button b event")
def start_cb():
    codey.stop_other_scripts()
    while True:
        codey.display.show(rocky.color_ir_sensor.get_reflected_infrared())
def button_c_cb():
    codey.stop_other_scripts()
    while True:
        codey.display.show(rocky.color_ir_sensor.get_reflected_light())
def button_b_cb():
    codey.stop_other_scripts()
    while True:
        codey.display.show(rocky.color_ir_sensor.get_greyness())
def button_a_cb():
    codey.stop_other_scripts()
    while True:
        codey.display.show(rocky.color_ir_sensor.get_light_strength())