arduino-libraries / Keyboard

GNU Lesser General Public License v3.0
225 stars 158 forks source link

"Keyboard not found, Does your sketch include the line #include <Keyboard.h>" #39

Closed kiranshashiny closed 4 years ago

kiranshashiny commented 4 years ago

How do I resolve this error on Arduino IDE.

I installed the library and do find it in Arduino IDE.

I'm unable to compile it for Arduino Uno. This is on Mac OS - High Sierra 10.13.6 I want to use it for testing IR receiver hardware.

image

image

image

kiranshashiny commented 4 years ago

There is a Keyboard.h in the /Users/Myname/Documents/Arduino/libraries/Keyboard-master/src folder

$ find . -name Keyboard.h -print ./src/Keyboard.h

facchinm commented 4 years ago

The Keyboard library is only suitable for boards with native USB (eg. Micro, Leonardo, all the MKR), so trying to compile on the Uno will not work.

kiranshashiny commented 4 years ago

Oh !  So let my Issue be there - do not 'Remove. So others who encounter such an issue will know about it.

Regards, Shashi

joex92 commented 2 years ago

wait, what about the MEGA 2560 R3?

per1234 commented 2 years ago

@joex92 please post on the Arduino forum if you would like assistance using your Mega 2560 R3 board or this library:

https://forum.arduino.cc/