2022. 10. 20. 23:06ㆍTrouble shooting
Arduino 오류 메세지 :
아두이노:1.8.19 (Windows 10), 보드:"Arduino Uno"
In file included from C:\Users\park\Documents\Arduino\sketch_oct20b\sketch_oct20b.ino:1:0:
C:\Program Files (x86)\Arduino\libraries\Keyboard\src/Keyboard.h:29:2: warning: #warning "Using legacy HID core (non pluggable)" [-Wcpp]
#warning "Using legacy HID core (non pluggable)"
^~~~~~~
In file included from C:\Users\park\Documents\Arduino\sketch_oct20b\sketch_oct20b.ino:3:0:
C:\Program Files (x86)\Arduino\libraries\Mouse\src/Mouse.h:29:2: warning: #warning "Using legacy HID core (non pluggable)" [-Wcpp]
#warning "Using legacy HID core (non pluggable)"
^~~~~~~
C:\Users\park\Documents\Arduino\sketch_oct20b\sketch_oct20b.ino: In function 'void loop()':
C:\Users\park\Documents\Arduino\sketch_oct20b\sketch_oct20b.ino:20:15: warning: invalid conversion from 'const char*' to 'char' [-fpermissive]
char temp = "";
^~
sketch_oct20b:41:7: error: 'Mouse' 가 없습니다. 스케치에서 '#include < Mouse.h>' 를 포함했나요?
Mouse.move(p, 0);
^~~~~
sketch_oct20b:49:7: error: 'Mouse' 가 없습니다. 스케치에서 '#include < Mouse.h>' 를 포함했나요?
Mouse.move(0, p);
^~~~~
sketch_oct20b:57:7: error: 'Mouse' 가 없습니다. 스케치에서 '#include < Mouse.h>' 를 포함했나요?
Mouse.move(0, 0, p);
^~~~~
sketch_oct20b:61:7: error: 'Keyboard' 가 없습니다. 스케치에서 '#include <Keyboard.h>' 를 포함했나요?
Keyboard.releaseAll();
^~~~~~~~
sketch_oct20b:71:22: error: 'KEY_LEFT_SHIFT' was not declared in this scope
keyAction(c, KEY_LEFT_SHIFT);
^~~~~~~~~~~~~~
sketch_oct20b:77:22: error: 'KEY_RIGHT_SHIFT' was not declared in this scope
keyAction(c, KEY_RIGHT_SHIFT);
^~~~~~~~~~~~~~~
sketch_oct20b:83:22: error: 'KEY_LEFT_CTRL' was not declared in this scope
keyAction(c, KEY_LEFT_CTRL);
^~~~~~~~~~~~~
sketch_oct20b:89:22: error: 'KEY_RIGHT_GUI' was not declared in this scope
keyAction(c, KEY_RIGHT_GUI);
^~~~~~~~~~~~~
sketch_oct20b:95:22: error: 'KEY_LEFT_GUI' was not declared in this scope
keyAction(c, KEY_LEFT_GUI);
^~~~~~~~~~~~
sketch_oct20b:101:22: error: 'KEY_RIGHT_CTRL' was not declared in this scope
keyAction(c, KEY_RIGHT_CTRL);
^~~~~~~~~~~~~~
sketch_oct20b:107:22: error: 'KEY_LEFT_ALT' was not declared in this scope
keyAction(c, KEY_LEFT_ALT);
^~~~~~~~~~~~
sketch_oct20b:113:22: error: 'KEY_RIGHT_ALT' was not declared in this scope
keyAction(c, KEY_RIGHT_ALT);
^~~~~~~~~~~~~
sketch_oct20b:119:22: error: 'KEY_LEFT_ARROW' was not declared in this scope
keyAction(c, KEY_LEFT_ARROW);
^~~~~~~~~~~~~~
sketch_oct20b:125:22: error: 'KEY_UP_ARROW' was not declared in this scope
keyAction(c, KEY_UP_ARROW);
^~~~~~~~~~~~
sketch_oct20b:131:22: error: 'KEY_RIGHT_ARROW' was not declared in this scope
keyAction(c, KEY_RIGHT_ARROW);
^~~~~~~~~~~~~~~
sketch_oct20b:137:22: error: 'KEY_DOWN_ARROW' was not declared in this scope
keyAction(c, KEY_DOWN_ARROW);
^~~~~~~~~~~~~~
sketch_oct20b:143:22: error: 'KEY_BACKSPACE' was not declared in this scope
keyAction(c, KEY_BACKSPACE);
^~~~~~~~~~~~~
sketch_oct20b:155:22: error: 'KEY_TAB' was not declared in this scope
keyAction(c, KEY_TAB);
^~~~~~~
sketch_oct20b:161:22: error: 'KEY_RETURN' was not declared in this scope
keyAction(c, KEY_RETURN);
^~~~~~~~~~
sketch_oct20b:167:22: error: 'KEY_ESC' was not declared in this scope
keyAction(c, KEY_ESC);
^~~~~~~
sketch_oct20b:173:22: error: 'KEY_INSERT' was not declared in this scope
keyAction(c, KEY_INSERT);
^~~~~~~~~~
sketch_oct20b:179:22: error: 'KEY_DELETE' was not declared in this scope
keyAction(c, KEY_DELETE);
^~~~~~~~~~
sketch_oct20b:185:22: error: 'KEY_PAGE_UP' was not declared in this scope
keyAction(c, KEY_PAGE_UP);
^~~~~~~~~~~
sketch_oct20b:191:22: error: 'KEY_PAGE_DOWN' was not declared in this scope
keyAction(c, KEY_PAGE_DOWN);
^~~~~~~~~~~~~
sketch_oct20b:197:22: error: 'KEY_HOME' was not declared in this scope
keyAction(c, KEY_HOME);
^~~~~~~~
sketch_oct20b:203:22: error: 'KEY_END' was not declared in this scope
keyAction(c, KEY_END);
^~~~~~~
C:\Users\park\Documents\Arduino\sketch_oct20b\sketch_oct20b.ino:203:22: note: suggested alternative: 'E2END'
keyAction(c, KEY_END);
^~~~~~~
E2END
sketch_oct20b:209:22: error: 'KEY_CAPS_LOCK' was not declared in this scope
keyAction(c, KEY_CAPS_LOCK);
^~~~~~~~~~~~~
sketch_oct20b:215:22: error: 'KEY_F1' was not declared in this scope
keyAction(c, KEY_F1);
^~~~~~
sketch_oct20b:221:22: error: 'KEY_F2' was not declared in this scope
keyAction(c, KEY_F2);
^~~~~~
sketch_oct20b:227:22: error: 'KEY_F3' was not declared in this scope
keyAction(c, KEY_F3);
^~~~~~
sketch_oct20b:233:22: error: 'KEY_F4' was not declared in this scope
keyAction(c, KEY_F4);
^~~~~~
sketch_oct20b:239:22: error: 'KEY_F5' was not declared in this scope
keyAction(c, KEY_F5);
^~~~~~
sketch_oct20b:245:22: error: 'KEY_F6' was not declared in this scope
keyAction(c, KEY_F6);
^~~~~~
sketch_oct20b:251:22: error: 'KEY_F7' was not declared in this scope
keyAction(c, KEY_F7);
^~~~~~
sketch_oct20b:257:22: error: 'KEY_F8' was not declared in this scope
keyAction(c, KEY_F8);
^~~~~~
sketch_oct20b:263:22: error: 'KEY_F9' was not declared in this scope
keyAction(c, KEY_F9);
^~~~~~
sketch_oct20b:269:22: error: 'KEY_F10' was not declared in this scope
keyAction(c, KEY_F10);
^~~~~~~
sketch_oct20b:275:22: error: 'KEY_F11' was not declared in this scope
keyAction(c, KEY_F11);
^~~~~~~
sketch_oct20b:281:22: error: 'KEY_F12' was not declared in this scope
keyAction(c, KEY_F12);
^~~~~~~
sketch_oct20b:289:11: error: 'Keyboard' 가 없습니다. 스케치에서 '#include <Keyboard.h>' 를 포함했나요?
Keyboard.press(v[0]);
^~~~~~~~
sketch_oct20b:295:11: error: 'Keyboard' 가 없습니다. 스케치에서 '#include <Keyboard.h>' 를 포함했나요?
Keyboard.release(v[0]);
^~~~~~~~
sketch_oct20b:311:11: error: 'Mouse' 가 없습니다. 스케치에서 '#include < Mouse.h>' 를 포함했나요?
Mouse.click(MOUSE_LEFT);
^~~~~
sketch_oct20b:311:23: error: 'MOUSE_LEFT' was not declared in this scope
Mouse.click(MOUSE_LEFT);
^~~~~~~~~~
C:\Users\park\Documents\Arduino\sketch_oct20b\sketch_oct20b.ino:311:23: note: suggested alternative: 'MOUSE_h'
Mouse.click(MOUSE_LEFT);
^~~~~~~~~~
MOUSE_h
sketch_oct20b:337:23: error: 'MOUSE_RIGHT' was not declared in this scope
Mouse.click(MOUSE_RIGHT);
^~~~~~~~~~~
C:\Users\park\Documents\Arduino\sketch_oct20b\sketch_oct20b.ino:337:23: note: suggested alternative: 'MOUSE_h'
Mouse.click(MOUSE_RIGHT);
^~~~~~~~~~~
MOUSE_h
sketch_oct20b:363:23: error: 'MOUSE_MIDDLE' was not declared in this scope
Mouse.click(MOUSE_MIDDLE);
^~~~~~~~~~~~
C:\Users\park\Documents\Arduino\sketch_oct20b\sketch_oct20b.ino:363:23: note: suggested alternative: 'MOUSE_h'
Mouse.click(MOUSE_MIDDLE);
^~~~~~~~~~~~
MOUSE_h
C:\Users\park\Documents\Arduino\sketch_oct20b\sketch_oct20b.ino: In function 'void keyAction(String, uint8_t)':
sketch_oct20b:393:5: error: 'Keyboard' 가 없습니다. 스케치에서 '#include <Keyboard.h>' 를 포함했나요?
Keyboard.press(k);
^~~~~~~~
sketch_oct20b:399:5: error: 'Keyboard' 가 없습니다. 스케치에서 '#include <Keyboard.h>' 를 포함했나요?
Keyboard.release(k);
^~~~~~~~
exit status 1
'Mouse' 가 없습니다. 스케치에서 '#include < Mouse.h>' 를 포함했나요?
이 리포트는 파일 -> 환경설정에 "컴파일중 자세한 출력보이기"를
활성화하여 더 많은 정보를
보이게 할 수 있습니다.
해결
1. 포트 확인
2. 보드 확인...
'Trouble shooting' 카테고리의 다른 글
pip install sklearn 오류 (0) | 2023.05.22 |
---|---|
Slack api bot token(?), app channel add 오류 (0) | 2023.05.08 |
pandas) 변수의 타입명을 기록하던가 잘 정리하자 (0) | 2022.06.20 |
pandas) Output exceeds the size limit. Open the full output data in a text editor (0) | 2022.06.17 |
pandas.read_excel 오류 (0) | 2022.06.08 |