Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

m5 was not declared in this scope #44

Open
skywo1f opened this issue Feb 3, 2023 · 0 comments
Open

m5 was not declared in this scope #44

skywo1f opened this issue Feb 3, 2023 · 0 comments

Comments

@skywo1f
Copy link

skywo1f commented Feb 3, 2023

C:\Users\iviti\AppData\Local\Temp.arduinoIDE-unsaved202313-8608-1h1wq7m.0xw3\Move_Robot\Move_Robot.ino: In function 'void setup()':
C:\Users\iviti\AppData\Local\Temp.arduinoIDE-unsaved202313-8608-1h1wq7m.0xw3\Move_Robot\Move_Robot.ino:170:5: error: 'M5' was not declared in this scope
M5.Lcd.drawJpg(mycobot_start_PIC, sizeof(mycobot_start_PIC), 0, 0, 320, 240);
^~
C:\Users\iviti\AppData\Local\Temp.arduinoIDE-unsaved202313-8608-1h1wq7m.0xw3\Move_Robot\Move_Robot.ino:170:5: note: suggested alternative: 'A5'
M5.Lcd.drawJpg(mycobot_start_PIC, sizeof(mycobot_start_PIC), 0, 0, 320, 240);
^~
A5
C:\Users\iviti\AppData\Local\Temp.arduinoIDE-unsaved202313-8608-1h1wq7m.0xw3\Move_Robot\Move_Robot.ino:174:21: error: 'class MyCobotBasic' has no member named 'isInPosition'
while (!mycobot.isInPosition({0, 0, 0, 0, 0, 0}, 0)) {
^~~~~~~~~~~~
C:\Users\iviti\AppData\Local\Temp.arduinoIDE-unsaved202313-8608-1h1wq7m.0xw3\Move_Robot\Move_Robot.ino: In function 'void loop()':
C:\Users\iviti\AppData\Local\Temp.arduinoIDE-unsaved202313-8608-1h1wq7m.0xw3\Move_Robot\Move_Robot.ino:187:21: error: 'class MyCobotBasic' has no member named 'isInPosition'
while (!mycobot.isInPosition({0, 0, 0, 0, 0, 0}, 0)) {
^~~~~~~~~~~~

exit status 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant