Name

gpio_get_pin — gets the input pin state

Synopsis

#include <gpio.h>   
bool gpio_get_pin (id); 
int id;
 

Arguments

id

the pin to retreive state

Description

This function retreives the state of the specified input pin.