gpio_direction_output GPIO VALUE
3.9.10. gpio_direction_input - set direction of a GPIO pin to input
3.9.12. gpio_get_value - return value of a GPIO pin