swixteen  0.03
Switch a lamp on/off with X10 RF commands
 All Files Functions Variables Macros Pages
Functions
SetGpioAsOutput.c File Reference
#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include "../Sysfs/Sysfs.h"
#include "../config.h"
Include dependency graph for SetGpioAsOutput.c:

Go to the source code of this file.

Functions

int SetGpioAsOutput (int Pin)
 set a gpio pin in output mode More...
 

Function Documentation

int SetGpioAsOutput ( int  Pin)

set a gpio pin in output mode

Parameters
Pin
Returns
zero on succes, a negative number on failure

Definition at line 15 of file SetGpioAsOutput.c.

Here is the caller graph for this function: