I am trying to use the keyboard library for a project, but it says that it isn't included when I try to run it. Even though it is included at the very top. I have it installed and everything.
Hi @stay242. Which board do you have selected in the Arduino IDE?
A nano board.
This is the cause of the error. The "Keyboard" and "Mouse" libraries can only be used with boards that have a native USB capability. Your board does not have such a capability.
You would need to obtain a native USB board to use the libraries or to do keyboard/mouse emulation in general. I can recommend some nice boards to use:
Thanks!
You are welcome. I'm glad if I was able to be of assistance.
Regards,
Per
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.