Ви не увійшли.
синтаксис нужно блюсти....
Круто! А у меня и это не получается!
надо чтобы переменая не начаналась с цифер
нашел решение, вопрос закрит
Круто! А у меня и это не получается!
делаю джойстик, при вигрузке скетча дает ошибку:
Arduino: 1.8.19 (Windows Store 1.8.57.0) (Windows 10), Board: "Arduino Leonardo"
gayshit_joystik:7:5: error: expected unqualified-id before numeric constant
gayshit_joystik:8:5: error: expected unqualified-id before numeric constant
gayshit_joystik:11:5: error: expected unqualified-id before numeric constant
gayshit_joystik:20:5: error: expected unqualified-id before numeric constant
gayshit_joystik:21:5: error: expected unqualified-id before numeric constant
gayshit_joystik:22:5: error: expected unqualified-id before numeric constant
gayshit_joystik:24:5: error: expected unqualified-id before numeric constant
gayshit_joystik:25:5: error: expected unqualified-id before numeric constant
D:UserDatamikeOneDriveДокументыArduinogayshit_joystikgayshit_joystik.ino: In function 'void keyboard_press()':
gayshit_joystik:77:3: error: unable to find numeric literal operator 'operator""xPosition'
gayshit_joystik:77:27: error: unable to find numeric literal operator 'operator""VRx'
gayshit_joystik:78:3: error: unable to find numeric literal operator 'operator""yPosition'
gayshit_joystik:78:27: error: unable to find numeric literal operator 'operator""VRy'
gayshit_joystik:80:3: error: unable to find numeric literal operator 'operator""SW_state'
gayshit_joystik:80:28: error: unable to find numeric literal operator 'operator""SW'
gayshit_joystik:81:3: error: unable to find numeric literal operator 'operator""mapX'
gayshit_joystik:82:3: error: unable to find numeric literal operator 'operator""mapY'
Multiple libraries were found for "Keyboard.h"
Used: D:UserDatamikeOneDriveДокументыArduinolibrariesKeyboard
Not used: C:Program FilesWindowsAppsArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wttlibrariesKeyboard
Multiple libraries were found for "Mouse.h"
Used: D:UserDatamikeOneDriveДокументыArduinolibrariesMouse
Not used: C:Program FilesWindowsAppsArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wttlibrariesMouse
exit status 1
expected unqualified-id before numeric constant
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.