BASIC4MCU | 질문게시판 | 아두이노 우노 보드 컴파일 에러 질문
페이지 정보
작성자 master 작성일2018-09-21 06:38 조회27,988회 댓글0건
https://www.basic4mcu.com/bbs/board.php?bo_table=gac&wr_id=3180
본문
안녕하세요! 아두이노 우노 보드 심전도 키트를 사서 컴파일 하던 중에 에러가 계속 떠서 질문드립니다ㅠㅠ 일단 코드는 기존에 있는 걸 사용했는데void setup() {// initialize the serial communication:Serial.begin(9600);pinMode(10, INPUT); // Setup for leads off detection LO +pinMode(11, INPUT); // Setup for leads off detection LO -}void loop() {if((digitalRead(10) == 1)||(digitalRead(11) == 1)){Serial.println('!');}else{// send the value of analog input 0:Serial.println(analogRead(A0));}//Wait for a bit to keep serial data from saturatingdelay(10);}----아두이노:1.8.6 (Windows 10), 보드:"Arduino/Genuino Uno"c:/program files (x86)/arduino/hardware/tools/avr/bin/../lib/gcc/avr/5.4.0/../../../../avr/bin/ld.exe: error: lto-wrapper failedcollect2.exe: error: ld returned 1 exit statusexit status 1보드 Arduino/Genuino Uno 컴파일 에러.이 리포트는 파일 -> 환경설정에 "컴파일중 자세한 출력보이기"를활성화하여 더 많은 정보를보이게 할 수 있습니다.포트도 연결했고 우노 보드도 맞는데 계속 이런 오류 메시지가 뜨는데 왜 그런지 알 수 있을까요?ㅠㅠㅠㅠ학교 프로젝트라 급해서 올려봅니다//소스는 에러 안납니다.아두이노 다시 설치해서 돌려보세요c:/program files (x86)시스템 폴더 아래에 아두이노를 설치하면 안됩니다.아두이노 폴더를 다른 위치로 변경하세요c:\ 루트 아래로 옮겨도 되겠죠
댓글 0
조회수 27,988등록된 댓글이 없습니다.