i am trying to make something like that but I get some errors when i compile
this is the project I wanna built
the code is in atach
the errors are
C:\Users\AdiContakt\Desktop\mediavolcontrollerHIDwithLED\mediavolcontrollerHIDwithLED.ino: In function 'void setup()':
mediavolcontrollerHIDwithLED:92: error: 'Keyboard' not found. Does your sketch include the line '#include <Keyboard.h>'?
Keyboard.begin();
^
C:\Users\AdiContakt\Desktop\mediavolcontrollerHIDwithLED\mediavolcontrollerHIDwithLED.ino: In function 'void loop()':
mediavolcontrollerHIDwithLED:108: error: 'Keyboard' not found. Does your sketch include the line '#include <Keyboard.h>'?
Keyboard.press(KEY_LEFT_CTRL);
^
mediavolcontrollerHIDwithLED:108: error: 'KEY_LEFT_CTRL' was not declared in this scope
Keyboard.press(KEY_LEFT_CTRL);
^
mediavolcontrollerHIDwithLED:109: error: 'KEY_F10' was not declared in this scope
Keyboard.press(KEY_F10);
^
mediavolcontrollerHIDwithLED:116: error: 'Keyboard' not found. Does your sketch include the line '#include <Keyboard.h>'?
Keyboard.press(KEY_LEFT_CTRL);
^
mediavolcontrollerHIDwithLED:116: error: 'KEY_LEFT_CTRL' was not declared in this scope
Keyboard.press(KEY_LEFT_CTRL);
^
mediavolcontrollerHIDwithLED:117: error: 'KEY_F10' was not declared in this scope
Keyboard.press(KEY_F10);
^
mediavolcontrollerHIDwithLED:133: error: 'Keyboard' not found. Does your sketch include the line '#include <Keyboard.h>'?
Keyboard.press(KEY_LEFT_CTRL);
^
mediavolcontrollerHIDwithLED:133: error: 'KEY_LEFT_CTRL' was not declared in this scope
Keyboard.press(KEY_LEFT_CTRL);
^
mediavolcontrollerHIDwithLED:134: error: 'KEY_F8' was not declared in this scope
Keyboard.press(KEY_F8);
^
mediavolcontrollerHIDwithLED:142: error: 'Keyboard' not found. Does your sketch include the line '#include <Keyboard.h>'?
Keyboard.press(KEY_LEFT_CTRL);
^
mediavolcontrollerHIDwithLED:142: error: 'KEY_LEFT_CTRL' was not declared in this scope
Keyboard.press(KEY_LEFT_CTRL);
^
mediavolcontrollerHIDwithLED:143: error: 'KEY_F9' was not declared in this scope
Keyboard.press(KEY_F9);
^
mediavolcontrollerHIDwithLED:161: error: 'Keyboard' not found. Does your sketch include the line '#include <Keyboard.h>'?
Keyboard.press(KEY_LEFT_CTRL);
^
mediavolcontrollerHIDwithLED:161: error: 'KEY_LEFT_CTRL' was not declared in this scope
Keyboard.press(KEY_LEFT_CTRL);
^
mediavolcontrollerHIDwithLED:162: error: 'KEY_F11' was not declared in this scope
Keyboard.press(KEY_F11);
^
mediavolcontrollerHIDwithLED:170: error: 'Keyboard' not found. Does your sketch include the line '#include <Keyboard.h>'?
Keyboard.press(KEY_LEFT_CTRL);
^
mediavolcontrollerHIDwithLED:170: error: 'KEY_LEFT_CTRL' was not declared in this scope
Keyboard.press(KEY_LEFT_CTRL);
^
mediavolcontrollerHIDwithLED:171: error: 'KEY_F11' was not declared in this scope
Keyboard.press(KEY_F11);
^
mediavolcontrollerHIDwithLED:191: error: 'Keyboard' not found. Does your sketch include the line '#include <Keyboard.h>'?
Keyboard.press(KEY_LEFT_CTRL);
^
mediavolcontrollerHIDwithLED:191: error: 'KEY_LEFT_CTRL' was not declared in this scope
Keyboard.press(KEY_LEFT_CTRL);
^
mediavolcontrollerHIDwithLED:192: error: 'KEY_F12' was not declared in this scope
Keyboard.press(KEY_F12);
^
mediavolcontrollerHIDwithLED:200: error: 'Keyboard' not found. Does your sketch include the line '#include <Keyboard.h>'?
Keyboard.press(KEY_LEFT_CTRL);
^
mediavolcontrollerHIDwithLED:200: error: 'KEY_LEFT_CTRL' was not declared in this scope
Keyboard.press(KEY_LEFT_CTRL);
^
mediavolcontrollerHIDwithLED:201: error: 'KEY_F12' was not declared in this scope
Keyboard.press(KEY_F12);
^
mediavolcontrollerHIDwithLED:221: error: 'Keyboard' not found. Does your sketch include the line '#include <Keyboard.h>'?
Keyboard.press(KEY_LEFT_CTRL);
^
mediavolcontrollerHIDwithLED:221: error: 'KEY_LEFT_CTRL' was not declared in this scope
Keyboard.press(KEY_LEFT_CTRL);
^
mediavolcontrollerHIDwithLED:222: error: 'KEY_F4' was not declared in this scope
Keyboard.press(KEY_F4);
^
mediavolcontrollerHIDwithLED:230: error: 'Keyboard' not found. Does your sketch include the line '#include <Keyboard.h>'?
Keyboard.press(KEY_LEFT_CTRL);
^
mediavolcontrollerHIDwithLED:230: error: 'KEY_LEFT_CTRL' was not declared in this scope
Keyboard.press(KEY_LEFT_CTRL);
^
mediavolcontrollerHIDwithLED:231: error: 'KEY_F4' was not declared in this scope
Keyboard.press(KEY_F4);
^
mediavolcontrollerHIDwithLED:251: error: 'Keyboard' not found. Does your sketch include the line '#include <Keyboard.h>'?
Keyboard.press(KEY_LEFT_CTRL);
^
mediavolcontrollerHIDwithLED:251: error: 'KEY_LEFT_CTRL' was not declared in this scope
Keyboard.press(KEY_LEFT_CTRL);
^
mediavolcontrollerHIDwithLED:252: error: 'KEY_F6' was not declared in this scope
Keyboard.press(KEY_F6);
^
mediavolcontrollerHIDwithLED:260: error: 'Keyboard' not found. Does your sketch include the line '#include <Keyboard.h>'?
Keyboard.press(KEY_LEFT_CTRL);
^
mediavolcontrollerHIDwithLED:260: error: 'KEY_LEFT_CTRL' was not declared in this scope
Keyboard.press(KEY_LEFT_CTRL);
^
mediavolcontrollerHIDwithLED:261: error: 'KEY_F6' was not declared in this scope
Keyboard.press(KEY_F6);
^
mediavolcontrollerHIDwithLED:281: error: 'Keyboard' not found. Does your sketch include the line '#include <Keyboard.h>'?
Keyboard.press(KEY_LEFT_CTRL);
^
mediavolcontrollerHIDwithLED:281: error: 'KEY_LEFT_CTRL' was not declared in this scope
Keyboard.press(KEY_LEFT_CTRL);
^
mediavolcontrollerHIDwithLED:282: error: 'KEY_F5' was not declared in this scope
Keyboard.press(KEY_F5);
^
mediavolcontrollerHIDwithLED:290: error: 'Keyboard' not found. Does your sketch include the line '#include <Keyboard.h>'?
Keyboard.press(KEY_LEFT_CTRL);
^
mediavolcontrollerHIDwithLED:290: error: 'KEY_LEFT_CTRL' was not declared in this scope
Keyboard.press(KEY_LEFT_CTRL);
^
mediavolcontrollerHIDwithLED:291: error: 'KEY_F5' was not declared in this scope
Keyboard.press(KEY_F5);
^
mediavolcontrollerHIDwithLED:310: error: 'Keyboard' not found. Does your sketch include the line '#include <Keyboard.h>'?
Keyboard.press(KEY_LEFT_CTRL);
^
mediavolcontrollerHIDwithLED:310: error: 'KEY_LEFT_CTRL' was not declared in this scope
Keyboard.press(KEY_LEFT_CTRL);
^
mediavolcontrollerHIDwithLED:311: error: 'KEY_F7' was not declared in this scope
Keyboard.press(KEY_F7);
^
mediavolcontrollerHIDwithLED:319: error: 'Keyboard' not found. Does your sketch include the line '#include <Keyboard.h>'?
Keyboard.press(KEY_LEFT_CTRL);
^
mediavolcontrollerHIDwithLED:319: error: 'KEY_LEFT_CTRL' was not declared in this scope
Keyboard.press(KEY_LEFT_CTRL);
^
mediavolcontrollerHIDwithLED:320: error: 'KEY_F7' was not declared in this scope
Keyboard.press(KEY_F7);
^
exit status 1
'Keyboard' not found. Does your sketch include the line '#include <Keyboard.h>'?
i need some help , i am a newbie in "coding" ,10x
mediavolcontrollerHIDwithLED.ino (8.92 KB)