add prototype for gpio_write
add comments in main.c