add some defines and the function inOut
This commit is contained in:
11
V1/switch.c
11
V1/switch.c
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user