Arduino:1.8.17 Hourly Build 2021/09/06 02:33 (Windows 10), Płytka:"Arduino Nano, ATmega328P"
sketch_sep21a:93:1: error: 'Joystick_' does not name a type; did you mean 'Joystick'?
Joystick_ Joystick(JOYSTICK_DEFAULT_REPORT_ID,
^~~~~~~~~
Joystick
C:\Users\micha\AppData\Local\Temp\arduino_modified_sketch_320543\sketch_sep21a.ino: In function 'void setup()':
sketch_sep21a:99:11: error: expected unqualified-id before '.' token
Joystick.begin();
^
C:\Users\micha\AppData\Local\Temp\arduino_modified_sketch_320543\sketch_sep21a.ino: In function 'void CheckAllButtons()':
sketch_sep21a:121:21: error: expected unqualified-id before '.' token
Joystick.setButton(buttbx.key[i].kchar, 1);
^
sketch_sep21a:125:21: error: expected unqualified-id before '.' token
Joystick.setButton(buttbx.key[i].kchar, 0);
^
C:\Users\micha\AppData\Local\Temp\arduino_modified_sketch_320543\sketch_sep21a.ino: In function 'void CheckAllEncoders()':
sketch_sep21a:154:15: error: expected unqualified-id before '.' token
Joystick.setButton(rotaries[i].ccwchar, 1); delay(50); Joystick.setButton(rotaries[i].ccwchar, 0);
^
sketch_sep21a:154:70: error: expected unqualified-id before '.' token
Joystick.setButton(rotaries[i].ccwchar, 1); delay(50); Joystick.setButton(rotaries[i].ccwchar, 0);
^
sketch_sep21a:157:15: error: expected unqualified-id before '.' token
Joystick.setButton(rotaries[i].cwchar, 1); delay(50); Joystick.setButton(rotaries[i].cwchar, 0);
^
sketch_sep21a:157:69: error: expected unqualified-id before '.' token
Joystick.setButton(rotaries[i].cwchar, 1); delay(50); Joystick.setButton(rotaries[i].cwchar, 0);
^
exit status 1
'Joystick_' does not name a type; did you mean 'Joystick'?
Ten raport powinien zawierać więcej informacji jeśli w
File -> Preferencje zostanie włączona opcja "Pokaż
szczegółowe informacje podczas kompilacji"
do you know what library i miss? I tried to upload but there is the same error all the time, could you explain to me what library I need and where to get it and how to upload it?
and thanks for your advice in advance.