gpio_get_pin — gets the input pin state
#include <gpio.h>
bool gpio_get_pin (
)
int id
id
the pin to retreive state
This function retreives the state of the specified input pin.