def main()

in wearable/main.py [0:0]


def main(argv):
    state = State()
    # Reset the LEDs
    state.dots.fill(get_rgb("black"))

    button = Button(17)  # Set up pin 17 for the button

    button.when_pressed = make_record(state)
    button.when_released = make_stop(state)

    logging.info("Ready to talk!")

    pause()