Dukweeno / Duckuino

Simple DuckyScript to Arduino C converter.
https://dukweeno.github.io/Duckuino/
MIT License
353 stars 117 forks source link

HID.h: No such file or directory #110

Closed keldnorman closed 4 years ago

keldnorman commented 4 years ago

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

keldnorman commented 4 years ago

Fixed with : select tools -> board -> Arduino Leonardo

lowlevl commented 4 years ago

Hi @keldnorman, yes unfortunately some Arduino boards don't have Keyboard Emulation capabilities