코코아팹은 누구나 창의적 아이디어를 현실로 만들어 낼 수 있도록
만들고, 공유하고, 배울 수 있는 터전이
되고자 합니다.
아이디와 비밀번호를 잊으셨나요?아이디 / 비밀번호 찾기
코코아팹 회원이 아니신가요? 회원가입
스마트 홈 키트 업로드 문제
kyonko | 2018-11-19
|
|
---|---|
스마트 홈 키트에 대한 질문입니다. 스마트 홈 설명 페이지에 나와있는 코드를 그대로 사용하였습니다. 업로드 환경은 win 10, sketch 환경입니다.
아두이노:1.8.7 (Windows 10), 보드:"Arduino/Genuino Uno" libraries\DHT-sensor-library-master\DHT.cpp.o (symbol from plugin): In function `DHT::DHT(unsigned char, unsigned char, unsigned char)': (.text+0x0): multiple definition of `DHT::DHT(unsigned char, unsigned char, unsigned char)' libraries\DHT.h\DHT.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\DHT-sensor-library-master\DHT.cpp.o (symbol from plugin): In function `DHT::DHT(unsigned char, unsigned char, unsigned char)': (.text+0x0): multiple definition of `DHT::DHT(unsigned char, unsigned char, unsigned char)' libraries\DHT.h\DHT.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\DHT-sensor-library-master\DHT.cpp.o (symbol from plugin): In function `DHT::DHT(unsigned char, unsigned char, unsigned char)': (.text+0x0): multiple definition of `DHT::begin()' libraries\DHT.h\DHT.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\DHT-sensor-library-master\DHT.cpp.o (symbol from plugin): In function `DHT::DHT(unsigned char, unsigned char, unsigned char)': (.text+0x0): multiple definition of `DHT::convertCtoF(float)' libraries\DHT.h\DHT.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\DHT-sensor-library-master\DHT.cpp.o (symbol from plugin): In function `DHT::DHT(unsigned char, unsigned char, unsigned char)': (.text+0x0): multiple definition of `DHT::convertFtoC(float)' libraries\DHT.h\DHT.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\DHT-sensor-library-master\DHT.cpp.o (symbol from plugin): In function `DHT::DHT(unsigned char, unsigned char, unsigned char)': (.text+0x0): multiple definition of `DHT::computeHeatIndex(float, float, bool)' libraries\DHT.h\DHT.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\DHT-sensor-library-master\DHT.cpp.o (symbol from plugin): In function `DHT::DHT(unsigned char, unsigned char, unsigned char)': (.text+0x0): multiple definition of `DHT::expectPulse(bool)' libraries\DHT.h\DHT.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\DHT-sensor-library-master\DHT.cpp.o (symbol from plugin): In function `DHT::DHT(unsigned char, unsigned char, unsigned char)': (.text+0x0): multiple definition of `DHT::read(bool)' libraries\DHT.h\DHT.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\DHT-sensor-library-master\DHT.cpp.o (symbol from plugin): In function `DHT::DHT(unsigned char, unsigned char, unsigned char)': (.text+0x0): multiple definition of `DHT::readTemperature(bool, bool)' libraries\DHT.h\DHT.cpp.o (symbol from plugin):(.text+0x0): first defined here libraries\DHT-sensor-library-master\DHT.cpp.o (symbol from plugin): In function `DHT::DHT(unsigned char, unsigned char, unsigned char)': (.text+0x0): multiple definition of `DHT::readHumidity(bool)' libraries\DHT.h\DHT.cpp.o (symbol from plugin):(.text+0x0): first defined here collect2.exe: error: ld returned 1 exit status "Adafruit_Sensor.h"를 위한 복수개의 라이브러리가 발견되었습니다
이상의 에러가 발생하는데 어떻게 해결해야 하는지 감이 잡히질 않습니다. 타 시리즈의 경우 Uno로 설정하고 업로드를 해도 정상적으로 작동하였는데 유독 스마트홈만 현재 작동이 되질 않습니다. |
|
이전글 | 근전도 센서(emg센서) 및 프로젝트 | 2018-11-18 |
다음글 | 코딩을 합치고싶습니다 | 2018-11-19 |