Skip to content
Snippets Groups Projects
Commit 93fa655c authored by JalJu's avatar JalJu
Browse files

pi3 added

parent 2bf5530f
Branches main
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@
#include <linux/i2c-dev.h>
#include <sys/ioctl.h>
#include <pthread.h>
#include <jansson.h>
#include <jansson.h> // Json 파일에 대한 라이브러리로 추가적인 설치가 필요합니다.
#include <arpa/inet.h>
#include <sys/socket.h>
#include <wiringPi.h>
......@@ -50,9 +50,6 @@ typedef struct {
int Temp;
} SensorData;
int ReadMode;
int KMotorValue;
int fd;
int BLEN=1;
......@@ -399,7 +396,7 @@ void* lcdThreadFunction(void* arg) {
usleep(1000000); // Delay for 1 second
}
} // Lcd print
} // Lcd display
void *ServoMotorThreadFunction(void *arg){
while(1){
......@@ -434,7 +431,7 @@ void* buttonThreadFunction(void* arg) {
if(-1 == GPIOUnexport(Button)) return NULL;
return NULL;
} // button control
} // button read
/*
Error 관련 함수
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment