Name

gpio_set_pin — sets the output pin state

Synopsis

#include <gpio.h>   
void gpio_set_pin (id,  
 value); 
int id;
bool value;
 

Arguments

id

the pin to change state

value

the new state of the pin

Description

This function sets the state of the specified output pin to a high or a low.