add some defines and the function inOut

This commit is contained in:
Siegfried Kienzle
2017-03-24 15:54:38 +01:00
parent 414c1a95ac
commit f230a08868

View File

@@ -7,6 +7,13 @@
*
* */
#define PIN01 1
#define PIN12 12
#define PIN11 11
#define PIN06 6
#define IN ((const unsigned char *)"in\n")
#define OUT ((const unsigned char *)"out\n")
#include <stdio.h>
#include <unistd.h>
@@ -31,6 +38,10 @@ int reserve(char gpioPort)
return EXIT_SUCCESS;
}
int inOut(char gpioPort, char * inOut)
{
}
int main()
{