You need to put the stuff in your IF statements in { }
example.
if(digitalRead(0) == LOW) //UP
{
Keyboard.press('U');
Keyboard.release('U');
delay(ButtonDelay);
}
You need to put the stuff in your IF statements in { }
example.
if(digitalRead(0) == LOW) //UP
{
Keyboard.press('U');
Keyboard.release('U');
delay(ButtonDelay);
}