정보나눔

오픈소스하드웨어 프로젝트에 대한 다양한 정보를 나누는 공간입니다.

아두이노 첨해보는데 자꾸오류가떠요
박성민 | 2021-06-11

 

 

 

 

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

 

 

 

In file included from C:\Users\�ڼ���\AppData\Local\Temp\arduino_build_712631\sketch\sketch_jun11b.ino.cpp:1:0:

C:\Users\박성민\Documents\Arduino\sketch_jun11b\sketch_jun11b.ino: In function 'void setup()':

C:\Users\�ڼ���\Downloads\arduino-1.8.15-windows\arduino-1.8.15\hardware\arduino\avr\cores\arduino/Arduino.h:44:16: error: expected unqualified-id before numeric constant

 #define OUTPUT 0x1

                ^

C:\Users\박성민\Documents\Arduino\sketch_jun11b\sketch_jun11b.ino:13:16: note: in expansion of macro 'OUTPUT'

C:\Users\�ڼ���\Downloads\arduino-1.8.15-windows\arduino-1.8.15\hardware\arduino\avr\cores\arduino/Arduino.h:43:15: error: expected unqualified-id before numeric constant

 #define INPUT 0x0

               ^

C:\Users\박성민\Documents\Arduino\sketch_jun11b\sketch_jun11b.ino:14:16: note: in expansion of macro 'INPUT'

C:\Users\박성민\Documents\Arduino\sketch_jun11b\sketch_jun11b.ino: In function 'void loop()':

C:\Users\�ڼ���\Downloads\arduino-1.8.15-windows\arduino-1.8.15\hardware\arduino\avr\cores\arduino/Arduino.h:40:14: error: expected unqualified-id before numeric constant

 #define HIGH 0x1

              ^

C:\Users\박성민\Documents\Arduino\sketch_jun11b\sketch_jun11b.ino:19:21: note: in expansion of macro 'HIGH'

C:\Users\�ڼ���\Downloads\arduino-1.8.15-windows\arduino-1.8.15\hardware\arduino\avr\cores\arduino/Arduino.h:41:14: error: expected unqualified-id before numeric constant

 #define LOW  0x0

              ^

C:\Users\박성민\Documents\Arduino\sketch_jun11b\sketch_jun11b.ino:21:21: note: in expansion of macro 'LOW'

C:\Users\�ڼ���\Downloads\arduino-1.8.15-windows\arduino-1.8.15\hardware\arduino\avr\cores\arduino/Arduino.h:40:14: error: expected unqualified-id before numeric constant

 #define HIGH 0x1

              ^

C:\Users\박성민\Documents\Arduino\sketch_jun11b\sketch_jun11b.ino:23:32: note: in expansion of macro 'HIGH'

exit status 1

보드 Arduino Uno 컴파일 에러.

 

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

 

이전글   |    아두이노 메가로 tft lcd 조작 2021-06-08
다음글   |    진동모터 타이머 2021-06-12