Arduino demo error 'Dobot_SetPTPCmdEx' was not declared in this scope


#1

When I compile the Magician.ino file in AIStarter-Demo on the DOBOT official website, I get the error “Dobot_SetPTPCmdEx was not declared in this scope” as shown in the figure below.


DownloadAIStarter-Demo https://www.dobot.cc/downloadcenter/ai-starter.html#most-download
Magician.ino file path: AIStarter-Demo->AIStarter->examples->MagicianCooperation->Magician->Magician.ino

The reason for causing this problem is that different versions of the AI-Starter Demo program are used. In the old version of the program, each instruction has Ex. The new version of the program released later does not have Ex, and has different definitions in the header file. When the “SetPTPCmdEx was not declared in this scope” error message appears when compiling a program with Ex, you can add the new library files in the attachment and then compile the program again by removing the Ex of each instruction.
https://drive.google.com/file/d/1mGmb5kLOgkcEc9Jaq096KbmRZwcu-JgC/view?usp=sharing


Enquiry about Dobot Arduino "Dobot_SetPTPCmdEx was not declared in this scope"