Closed keldnorman closed 4 years ago
Pressed compile button...
C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\xxx\AppData\Local\Arduino15\packages -tools C:\Program Files .... ... DARDUINO_LIB_DISCOVERY_PHASE Alternatives for HID.h: [] ResolveLibrary(HID.h) -> candidates: [] In file included from C:\Users\xxx\Desktop\BadUSB_ATMEGA32U4\Sketch\Sketch.ino:6:0: Keyboard.h:25:17: fatal error: HID.h: No such file or directory
^
compilation terminated. exit status 1 HID.h: No such file or directory
Fixed with : select tools -> board -> Arduino Leonardo
Hi @keldnorman, yes unfortunately some Arduino boards don't have Keyboard Emulation capabilities
I. Describe your environment
II. Describe your problem
Pressed compile button...
C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\xxx\AppData\Local\Arduino15\packages -tools C:\Program Files .... ... DARDUINO_LIB_DISCOVERY_PHASE Alternatives for HID.h: [] ResolveLibrary(HID.h) -> candidates: [] In file included from C:\Users\xxx\Desktop\BadUSB_ATMEGA32U4\Sketch\Sketch.ino:6:0: Keyboard.h:25:17: fatal error: HID.h: No such file or directory
include "HID.h"
compilation terminated. exit status 1 HID.h: No such file or directory