this is the code:
#include <Keyboard.h>
int o=10;
void setup() {
// put your setup code here, to run once:
pinMode(o,INPUT_PULLUP);
Keyboard.begin();
}
void loop() {
// put your main code here, to run repeatedly:
if(digitalRead(o)==HIGH){
Keyboard.write(111);
delay(200);}
else{
Keyboard.release(111);
}
Keyboard.end();
}
and this is the error:
'Keyboard' not found. Does your sketch include the line '#include <Keyboard.h>'?
why is it not working?
i have written #include <Keyboard.h> but it is not ''noticing'' it.
can please someone help me??