Skip to content
Snippets Groups Projects
Commit 7250745c authored by 김 유림's avatar 김 유림
Browse files

lift_server

parent a7668d1a
No related branches found
No related tags found
1 merge request!2Kimjuyoung master patch
......@@ -215,7 +215,7 @@ void* microwave() {
printf("gpio export err\n");
}
usleep(100000);
usleep(10000); //10000 -> 1000
if(-1 == GPIODirection(POUT, OUT) || -1 == GPIODirection(PIN, IN)){
printf("gpio direction err\n");
......@@ -223,7 +223,7 @@ void* microwave() {
}
GPIOWrite(POUT, 0);
usleep(10000);
usleep(1000);
do{
if(-1 == GPIOWrite(POUT,1)){
......@@ -266,7 +266,7 @@ void* microwave() {
}
usleep(2000000);
usleep(2000000); //2000000 -> 2000
}
while(repeat--);
......@@ -318,7 +318,7 @@ void* press()
}
usleep(2000000);
usleep(2000000); //
}
while(repeat--);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment