swixteen  0.03
Switch a lamp on/off with X10 RF commands
 All Files Functions Variables Macros Pages
CloseGpioPinFd.c
Go to the documentation of this file.
1 #include <stdio.h>
2 #include <sys/types.h>
3 #include <sys/stat.h>
4 #include <fcntl.h>
5 #include <unistd.h>
6 #include <stdlib.h>
7 
8 #include "../Sysfs/Sysfs.h"
9 
10 int CloseGpioPinFd( int Pin )
11  {
12  GpioUnExport(Pin);
13  return(close(GpioPinFd));
14  }
15