Include Keyboard on arduino nano clone (ATMEGA328P)

Hi all,

I need to include into a scketch this library but I have this error:

error: 'Keyboard' was not declared in this scope
Keyboard.begin();

I read some article on network and this is caused by incompatibility with the board.

Someone know hot to load this library or same library or alternative? I need to write how a keyboard into bluetooth serial.

Thanks a lot for all reply

Correct. Incompatible means you can't use this library with an ATMEGA328P-based Arduino board.

1 Like

What keyboard, how is it connected? Can you post a schematic showing exactly how you have wired it.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.