Good day. I tried to upload a code to the C-1-4 robot-manipulator to start it from the bluetooth controller. But I do not understand why the code is not loaded into the board. The firmware update also fails.
[2022-10-06T15:57:31.498] [DEBUG] info - Command failed: avr-toolchain\bin\avr-g++ -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -I"C:\Users\Public\Programs\mblock\resources\app\mlink-v1\external\arduino\avr-library\variants\mega" -I"avr-library/cores/arduino" -I"arduino-libraries/makeblock/src" -I"arduino-libraries/makeblock/src/utility/avr" -I"avr-library/libraries/Wire/src/utility" -I"avr-library/libraries/Wire/src/" -I"avr-library/libraries/EEPROM/src/" -I"avr-library/libraries/SPI/src/" -I"avr-library/libraries/SoftwareSerial/src/" -I"arduino-libraries/arduino/WiFi/src/" -I"arduino-libraries/arduino/SD/src/" -I"arduino-libraries/arduino/Bridge/src/" -I"arduino-libraries/arduino/Temboo/src/" -I"arduino-libraries/arduino/Servo/src/" -I"arduino-libraries/arduino/Ethernet/src/" -I"arduino-libraries/arduino/TFT/src/" -I"arduino-libraries/arduino/SpacebrewYun/src/" -I"arduino-libraries/arduino/LiquidCrystal/src/" -I"arduino-libraries/arduino/GSM/src/" -I"arduino-libraries/arduino/Adafruit_Circuit_Playground/" -I"arduino-libraries/arduino/Adafruit_Circuit_Playground/utility/" -I"arduino-libraries/arduino/Esplora/src/" -I"arduino-libraries/arduino/Firmata/" -I"arduino-libraries/arduino/Firmata/utility/" -I"arduino-libraries/arduino/Keyboard/src/" -I"arduino-libraries/arduino/Mouse/src/" -I"arduino-libraries/arduino/Robot_Control/src/" -I"arduino-libraries/arduino/Robot_Motor/src/" -I"arduino-libraries/arduino/RobotIRremote/src/" -I"arduino-libraries/arduino/Stepper/src/" “C:\Users\Asus\mblock-avr\temp\build\code.cpp” -o “C:\Users\Asus\mblock-avr\temp\build\code.o”
C:\Users\Asus\mblock-avr\temp\build\code.cpp: In function ‘void ChangeTool()’:
C:\Users\Asus\mblock-avr\temp\build\code.cpp:79:75: error: no matching function for call to ‘SD1_4_300_Command::Tool_SetTool()’
SD.SendCommandAndWaitForCommandDoneResponse(SD.command.Tool_SetTool());
^
In file included from C:\Users\Asus\mblock-avr\temp\build\Arduino/SD1_4_300.h:17:0,
from C:\Users\Asus\mblock-avr\temp\build\code.cpp:30:
C:\Users\Asus\mblock-avr\temp\build\Arduino/SD1_4_300_Command.h:306:18: note: candidate: static uint8_t* SD1_4_300_Command::Tool_SetTool(float, float, float)
static uint8_t* Tool_SetTool(float TX0, float TY0, float TZ0);
^~~~~~~~~~~~
C:\Users\Asus\mblock-avr\temp\build\Arduino/SD1_4_300_Command.h:306:18: note: candidate expects 3 arguments, 0 provided
C:\Users\Asus\mblock-avr\temp\build\code.cpp:83:79: error: no matching function for call to ‘SD1_4_300_Command::Tool_SetTool()’
SD.SendCommandAndWaitForCommandDoneResponse(SD.command.Tool_SetTool());
^
In file included from C:\Users\Asus\mblock-avr\temp\build\Arduino/SD1_4_300.h:17:0,
from C:\Users\Asus\mblock-avr\temp\build\code.cpp:30:
C:\Users\Asus\mblock-avr\temp\build\Arduino/SD1_4_300_Command.h:306:18: note: candidate: static uint8_t* SD1_4_300_Command::Tool_SetTool(float, float, float)
static uint8_t* Tool_SetTool(float TX0, float TY0, float TZ0);
^~~~~~~~~~~~
C:\Users\Asus\mblock-avr\temp\build\Arduino/SD1_4_300_Command.h:306:18: note: candidate expects 3 arguments, 0 provided
C:\Users\Asus\mblock-avr\temp\build\code.cpp:87:83: error: no matching function for call to ‘SD1_4_300_Command::Tool_SetTool()’
SD.SendCommandAndWaitForCommandDoneResponse(SD.command.Tool_SetTool());
^
In file included from C:\Users\Asus\mblock-avr\temp\build\Arduino/SD1_4_300.h:17:0,
from C:\Users\Asus\mblock-avr\temp\build\code.cpp:30:
C:\Users\Asus\mblock-avr\temp\build\Arduino/SD1_4_300_Command.h:306:18: note: candidate: static uint8_t* SD1_4_300_Command::Tool_SetTool(float, float, float)
static uint8_t* Tool_SetTool(float TX0, float TY0, float TZ0);
^~~~~~~~~~~~
C:\Users\Asus\mblock-avr\temp\build\Arduino/SD1_4_300_Command.h:306:18: note: candidate expects 3 arguments, 0 provided
[2022-10-06T15:57:31.498] [DEBUG] info - Failed to compile file code.cpp