에듀이노-코딩교육 전문 쇼핑몰 에듀이노-코딩교육 전문 쇼핑몰

학교, 공공기관이라면 후불결제하세요!

 
현재 위치
  1. 게시판
  2. 묻고답하기

묻고답하기

기술문의 게시판입니다.

게시판 상세
제목 2휠 RC카 블루투스에 오류가 이렇게 뜹니다.
작성자 임수정 (ip:)
  • 작성일 2021-10-27
  • 추천 추천하기
  • 조회수 193

다른 예제코드는 업로드가 되는데, 블루투스만 업로드가 안되고 아래와 같이 오류문구가 뜹니다.

어떻게 하면 되나요??



아두이노:1.8.13 (Windows 10), 보드:"Arduino Uno"

3_Bluetooth:3:16: error: redefinition of 'SoftwareSerial bluetooth'

C:UsersuserDesktop아두이노[3] 예제코드[2] 교육용 메탈 RC카3_Bluetooth3_Bluetooth.ino:22:26: note: in expansion of macro 'BT_RXD'

C:UsersuserDesktop아두이노[3] 예제코드[2] 교육용 메탈 RC카3_Bluetooth3_Bluetooth.ino:5:16: note: 'SoftwareSerial bluetooth' previously declared here

C:UsersuserDesktop아두이노[3] 예제코드[2] 교육용 메탈 RC카3_Bluetooth3_Bluetooth.ino: In function 'void setup()':

3_Bluetooth:34:6: error: redefinition of 'void setup()'

C:UsersuserDesktop아두이노[3] 예제코드[2] 교육용 메탈 RC카3_Bluetooth3_Bluetooth.ino:7:6: note: 'void setup()' previously defined here

3_Bluetooth:43:3: error: 'motor_L' was not declared in this scope

3_Bluetooth:44:15: error: 'RELEASE' was not declared in this scope

3_Bluetooth:45:3: error: 'motor_R' was not declared in this scope

C:UsersuserDesktop아두이노[3] 예제코드[2] 교육용 메탈 RC카3_Bluetooth3_Bluetooth.ino: In function 'void loop()':

3_Bluetooth:50:6: error: redefinition of 'void loop()'

C:UsersuserDesktop아두이노[3] 예제코드[2] 교육용 메탈 RC카3_Bluetooth3_Bluetooth.ino:12:6: note: 'void loop()' previously defined here

3_Bluetooth:59:6: error: 'motor_L' was not declared in this scope

3_Bluetooth:59:18: error: 'FORWARD' was not declared in this scope

3_Bluetooth:59:29: error: 'motor_R' was not declared in this scope

3_Bluetooth:62:6: error: 'motor_L' was not declared in this scope

3_Bluetooth:62:18: error: 'BACKWARD' was not declared in this scope

3_Bluetooth:62:30: error: 'motor_R' was not declared in this scope

3_Bluetooth:65:4: error: 'motor_L' was not declared in this scope

3_Bluetooth:65:16: error: 'RELEASE' was not declared in this scope

3_Bluetooth:65:27: error: 'motor_R' was not declared in this scope

3_Bluetooth:65:39: error: 'FORWARD' was not declared in this scope

3_Bluetooth:68:5: error: 'motor_L' was not declared in this scope

3_Bluetooth:68:17: error: 'FORWARD' was not declared in this scope

3_Bluetooth:68:28: error: 'motor_R' was not declared in this scope

3_Bluetooth:68:40: error: 'RELEASE' was not declared in this scope

3_Bluetooth:71:6: error: 'motor_L' was not declared in this scope

3_Bluetooth:71:18: error: 'BACKWARD' was not declared in this scope

3_Bluetooth:71:31: error: 'motor_R' was not declared in this scope

3_Bluetooth:71:43: error: 'FORWARD' was not declared in this scope

3_Bluetooth:74:7: error: 'motor_L' was not declared in this scope

3_Bluetooth:74:19: error: 'FORWARD' was not declared in this scope

3_Bluetooth:74:31: error: 'motor_R' was not declared in this scope

3_Bluetooth:74:43: error: 'BACKWARD' was not declared in this scope

3_Bluetooth:77:5: error: 'motor_L' was not declared in this scope

3_Bluetooth:77:17: error: 'RELEASE' was not declared in this scope

3_Bluetooth:77:33: error: 'motor_R' was not declared in this scope

3_Bluetooth:84:11: error: 'motor_L' was not declared in this scope

3_Bluetooth:84:33: error: 'motor_R' was not declared in this scope

exit status 1

redefinition of 'SoftwareSerial bluetooth'


이 리포트는 파일 -> 환경설정에 "컴파일중 자세한 출력보이기"를
활성화하여 더 많은 정보를
보이게 할 수 있습니다.


게시글 신고하기

신고사유

신고해주신 내용은 쇼핑몰 운영자의 검토 후 내부 운영 정책에 의해 처리가 진행됩니다.

평점 0점
첨부파일
비밀번호 수정 및 삭제하려면 비밀번호를 입력하세요.
  • 아두 2021-10-27 0점
    수정 삭제 댓글
    스팸글 예제 그대로 실행하신 건가요?

    예제 제목은 블루투스 예제인데 모터 변수가 나온 걸로 봐서는 직접 타이핑 하신 것 같은데 맞나요??

    직접 타이핑시 눈에 띄지 않는 오타가 있을 수 있어요

    예제 그대로 실행해보세요

스팸신고 스팸해제

댓글 수정

비밀번호 :

수정 취소

/ byte

비밀번호 : 확인 취소

댓글 입력

댓글달기이름 :비밀번호 : 관리자답변보기

확인

/ byte

왼쪽의 문자를 공백없이 입력하세요.(대소문자구분)

에게만 댓글 작성 권한이 있습니다.

댓글 입력

댓글달기이름 :비밀번호 :

확인

/ byte

왼쪽의 문자를 공백없이 입력하세요.(대소문자구분)

에게만 댓글 작성 권한이 있습니다.

«
»