Error when downloading a code to my Ultimate 2.0


#1

I was working with my robot as usual and all of a sudden it just wont compile , anyone know what’s wrong? I am a student right now. The code is in spanish sorry.

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"/app/src/external/arduino/avr-library/variants/mega" -I"/root/mblock-avr/temp/build" -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/" “/root/mblock-avr/temp/build/code.cpp” -o “/root/mblock-avr/temp/build/code.o” /root/mblock-avr/temp/build/code.cpp: In function ‘void setup()’: /root/mblock-avr/temp/build/code.cpp:131:16: error: ‘None’ was not declared in this scope _delay(float(None)); ^~~~ /root/mblock-avr/temp/build/code.cpp:131:16: note: suggested alternative: ‘tone’ _delay(float(None)); ^~~~ tone

Failed to compile file code.cpp

Arduino compile fail


#2

It was the seconds block that had no number in it


#3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.