Hello everybody !
i want my arduino to “press” a key in my computer when Digital 2 is low
(when the sensor give 0v to pin D2, the arduino simulate pressing Ctrl and F1 on the computer (via USB), the computer launch a program when these keys are pressed on the “real” keyboard.
For this, i use Keyboard.h
i followed a youtube tutorial, but i get an error that have no sense.
i tried to do this project with an AnalogRead then with an DigitalRead
i let you watch the screenshot and (if possible) help me…
(Sorry if i don’t speak english very well, i’m french)
The screenshot :
The error (translated) is "Are you sure that your sketch includes the line ‘#include <Keyboard.h>’ ?