Recently purchased the OSOYO atmega32u4 pro micro with hopes to get a Keyboard shortcut box up and running.
This is my first arduino project, sorry If i sound silly, but my IDE does not seem to recognize the "Keyboard.write" function.....
Is there an issue with my libraries? I've posted screenshot of the IDE , your opinions are greatly appreciated.
Heres the error:
Arduino: 1.8.2 (Windows 10), Board: "Arduino/Genuino Micro"
C:\Users\bravo\AppData\Local\Temp\arduino_modified_sketch_293768\sketch_aug16a.ino: In function 'void loop()':
sketch_aug16a:13: error: 'Keyboard' not found. Does your sketch include the line '#include <Keyboard.h>'?
Keyboard.write('z'); // send a 'z' to the computer via Keyboard HID
^
C:\Users\bravo\AppData\Local\Temp\arduino_modified_sketch_293768\sketch_aug16a.ino: At global scope:
sketch_aug16a:17: error: expected declaration before '}' token
}
^
exit status 1
'Keyboard' not found. Does your sketch include the line '#include <Keyboard.h>'?