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

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

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

묻고답하기

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

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

어떻게 하면 되나요??



아두이노: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

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

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

관련 글 보기

관련글 모음
no item title name date hit
26356 [자율주행 프로젝트 : 메탈 RC카] 아두이노 코딩교육 초음파센서 작동 문의 HIT vires641 2024-01-05 227
26008 [자율주행 프로젝트 : 메탈 RC카] 아두이노 코딩교육 조립과 앰블럭 코딩에 대한 자료 부탁드립니다. HIT goniland 2023-11-10 141
25869 [자율주행 프로젝트 : 메탈 RC카] 아두이노 코딩교육 모터 반응이 느려요 HIT 크리크리 2023-10-26 172
25339 [자율주행 프로젝트 : 메탈 RC카] 아두이노 코딩교육 모터 사양 문의 HIT 1773194964@k 2023-07-24 252
25271 [자율주행 프로젝트 : 메탈 RC카] 아두이노 코딩교육 메탈 RC카 hc-06 연결관련 질문 HIT Arduino 2023-07-07 284
«
»