Elektroniker
Member
Hello, I downloaded the source files for the keyboard function on the website, this I have imported as a library in Arudino, but if it is to use, it is not Orange deposited, and the commands even if I want to export the program, it gives me a lot of errors, what's wrong?
I want the tennsy connect on a breadboard with four buttons.
Apology for the writing way, it is Google Translate.
Thx4Help.
I want the tennsy connect on a breadboard with four buttons.
Apology for the writing way, it is Google Translate.
Thx4Help.
Code:
#include <usb_keyboard.h>
#include <Bounce.h>
Bounce button0 = Bounce(0, 10);
void setup()
{
pinMode(0, INPUT_PULLUP);
}
void loop()
{
button0.update();
if (button0.fallingEdge())
{
usb_Keyboard_press(KEY_F5, KEY_ALT);
}
}
Last edited: