Keyboard enter key control into Arduino

Hi -

I'm trying to include automatic enter control(keyboard), enclosing the code, I've used the library keyboard.h, while compiling getting header file error, pl help on the code.

Thanks

slave3.ino (700 Bytes)

What board do you have selected in the Tools > Board menu?

Arduino NANO,but now while googling it is learnt the library doesn't work with this.

Could you, pl suggest keyboard library suitable for NANO to achieve KEyboard enter control

The Nano doesn't have the hardware capabilities to do that. The only way you could use it for that purpose is to communicate with and application running on your computer that does the keyboard emulation.

It's much easier to just buy a Pro Micro, Leonardo, or other board that has that capability.

Thanks