Rename gpio_set_pin() -> gpio_configure_pin().
Modify main loop to exit on any serial rx.