Hello everyone!!
These are the mistakes that give me when I compile with the 4 juice files:
Adafruit Gram Central M4: expected constructor,destructor , or type conversion before “(” token
Arduino:1.8.12 (Windows Store 1.8.33.0) (Windows 10), Tarjeta:“Adafruit Grand Central M4 (SAMD51), Enabled, 120 MHz (standard), Small (-Os) (standard), 50 MHz (standard), Arduino, Off”
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.33.0_x86__mdqgnx93n4wtt\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.33.0_x86__mdqgnx93n4wtt\hardware -hardware C:\Users\PC\Documents\ArduinoData\packages -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.33.0_x86__mdqgnx93n4wtt\tools-builder -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.33.0_x86__mdqgnx93n4wtt\hardware\tools\avr -tools C:\Users\PC\Documents\ArduinoData\packages -built-in-libraries C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.33.0_x86__mdqgnx93n4wtt\libraries -libraries C:\Users\PC\Documents\Arduino\libraries -fqbn=adafruit:samd:adafruit_grandcentral_m4:cache=on,speed=120,opt=small,maxqspi=50,usbstack=arduino,debug=off -vid-pid=10C4_EA60 -ide-version=10812 -build-path C:\Users\PC\AppData\Local\Temp\arduino_build_813706 -warnings=none -build-cache C:\Users\PC\AppData\Local\Temp\arduino_cache_680932 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.CMSIS.path=C:\Users\PC\Documents\ArduinoData\packages\arduino\tools\CMSIS\4.5.0 -prefs=runtime.tools.CMSIS-4.5.0.path=C:\Users\PC\Documents\ArduinoData\packages\arduino\tools\CMSIS\4.5.0 -prefs=runtime.tools.bossac.path=C:\Users\PC\Documents\ArduinoData\packages\arduino\tools\bossac\1.8.0-48-gb176eee -prefs=runtime.tools.bossac-1.7.0-arduino3.path=C:\Users\PC\Documents\ArduinoData\packages\arduino\tools\bossac\1.7.0-arduino3 -prefs=runtime.tools.arduinoOTA.path=C:\Users\PC\Documents\ArduinoData\packages\arduino\tools\arduinoOTA\1.2.1 -prefs=runtime.tools.arduinoOTA-1.2.1.path=C:\Users\PC\Documents\ArduinoData\packages\arduino\tools\arduinoOTA\1.2.1 -prefs=runtime.tools.bossac-1.8.0-48-gb176eee.path=C:\Users\PC\Documents\ArduinoData\packages\arduino\tools\bossac\1.8.0-48-gb176eee -prefs=runtime.tools.CMSIS-Atmel.path=C:\Users\PC\Documents\ArduinoData\packages\arduino\tools\CMSIS-Atmel\1.2.0 -prefs=runtime.tools.CMSIS-Atmel-1.2.0.path=C:\Users\PC\Documents\ArduinoData\packages\arduino\tools\CMSIS-Atmel\1.2.0 -prefs=runtime.tools.arm-none-eabi-gcc.path=C:\Users\PC\Documents\ArduinoData\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4 -prefs=runtime.tools.arm-none-eabi-gcc-7-2017q4.path=C:\Users\PC\Documents\ArduinoData\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4 -prefs=runtime.tools.openocd.path=C:\Users\PC\Documents\ArduinoData\packages\arduino\tools\openocd\0.10.0-arduino7 -prefs=runtime.tools.openocd-0.10.0-arduino7.path=C:\Users\PC\Documents\ArduinoData\packages\arduino\tools\openocd\0.10.0-arduino7 -verbose C:\Users\PC\Documents\Arduino\Arduino Pixy\OK. Anteriores\P-pantilt\P-pantilt.ino
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.33.0_x86__mdqgnx93n4wtt\arduino-builder -compile -logger=machine -hardware C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.33.0_x86__mdqgnx93n4wtt\hardware -hardware C:\Users\PC\Documents\ArduinoData\packages -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.33.0_x86__mdqgnx93n4wtt\tools-builder -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.33.0_x86__mdqgnx93n4wtt\hardware\tools\avr -tools C:\Users\PC\Documents\ArduinoData\packages -built-in-libraries C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.33.0_x86__mdqgnx93n4wtt\libraries -libraries C:\Users\PC\Documents\Arduino\libraries -fqbn=adafruit:samd:adafruit_grandcentral_m4:cache=on,speed=120,opt=small,maxqspi=50,usbstack=arduino,debug=off -vid-pid=10C4_EA60 -ide-version=10812 -build-path C:\Users\PC\AppData\Local\Temp\arduino_build_813706 -warnings=none -build-cache C:\Users\PC\AppData\Local\Temp\arduino_cache_680932 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.CMSIS.path=C:\Users\PC\Documents\ArduinoData\packages\arduino\tools\CMSIS\4.5.0 -prefs=runtime.tools.CMSIS-4.5.0.path=C:\Users\PC\Documents\ArduinoData\packages\arduino\tools\CMSIS\4.5.0 -prefs=runtime.tools.bossac.path=C:\Users\PC\Documents\ArduinoData\packages\arduino\tools\bossac\1.8.0-48-gb176eee -prefs=runtime.tools.bossac-1.7.0-arduino3.path=C:\Users\PC\Documents\ArduinoData\packages\arduino\tools\bossac\1.7.0-arduino3 -prefs=runtime.tools.arduinoOTA.path=C:\Users\PC\Documents\ArduinoData\packages\arduino\tools\arduinoOTA\1.2.1 -prefs=runtime.tools.arduinoOTA-1.2.1.path=C:\Users\PC\Documents\ArduinoData\packages\arduino\tools\arduinoOTA\1.2.1 -prefs=runtime.tools.bossac-1.8.0-48-gb176eee.path=C:\Users\PC\Documents\ArduinoData\packages\arduino\tools\bossac\1.8.0-48-gb176eee -prefs=runtime.tools.CMSIS-Atmel.path=C:\Users\PC\Documents\ArduinoData\packages\arduino\tools\CMSIS-Atmel\1.2.0 -prefs=runtime.tools.CMSIS-Atmel-1.2.0.path=C:\Users\PC\Documents\ArduinoData\packages\arduino\tools\CMSIS-Atmel\1.2.0 -prefs=runtime.tools.arm-none-eabi-gcc.path=C:\Users\PC\Documents\ArduinoData\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4 -prefs=runtime.tools.arm-none-eabi-gcc-7-2017q4.path=C:\Users\PC\Documents\ArduinoData\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4 -prefs=runtime.tools.openocd.path=C:\Users\PC\Documents\ArduinoData\packages\arduino\tools\openocd\0.10.0-arduino7 -prefs=runtime.tools.openocd-0.10.0-arduino7.path=C:\Users\PC\Documents\ArduinoData\packages\arduino\tools\openocd\0.10.0-arduino7 -verbose C:\Users\PC\Documents\Arduino\Arduino Pixy\OK. Anteriores\P-pantilt\P-pantilt.ino
Using board ‘adafruit_grandcentral_m4’ from platform in folder: C:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14
Using core ‘arduino’ from platform in folder: C:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14
Detecting libraries used…
“C:\Users\PC\Documents\ArduinoData\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++” -mcpu=cortex-m4 -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions “-D__SKETCH_NAME__=”"“P-pantilt.ino”""" -w -x c++ -E -CC -DF_CPU=120000000L -DARDUINO=10812 -DARDUINO_GRAND_CENTRAL_M4 -DARDUINO_ARCH_SAMD -D__SAMD51P20A__ -DADAFRUIT_GRAND_CENTRAL_M4 -D__SAMD51__ -DUSB_VID=0x239A -DUSB_PID=0x8031 -DUSBCON -DUSB_CONFIG_POWER=100 “-DUSB_MANUFACTURER=“Adafruit LLC”” “-DUSB_PRODUCT=“Adafruit Grand Central M4"” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino/TinyUSB” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src” -D__FPU_PRESENT -DARM_MATH_CM4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DENABLE_CACHE -Os -DVARIANT_QSPI_BAUD_DEFAULT=50000000 -D__SAMD51P20A__ -DADAFRUIT_GRAND_CENTRAL_M4 -D__SAMD51__ -DUSB_VID=0x239A -DUSB_PID=0x8031 -DUSBCON -DUSB_CONFIG_POWER=100 “-DUSB_MANUFACTURER=“Adafruit LLC”” “-DUSB_PRODUCT=“Adafruit Grand Central M4"” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino/TinyUSB” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src” -D__FPU_PRESENT -DARM_MATH_CM4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 “-IC:\Users\PC\Documents\ArduinoData\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/” “-IC:\Users\PC\Documents\ArduinoData\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\variants\grand_central_m4” “C:\Users\PC\AppData\Local\Temp\arduino_build_813706\sketch\P-pantilt.ino.cpp” -o nul
Alternatives for SPI.h: [[email protected]]
ResolveLibrary(SPI.h)
-> candidates: [[email protected]]
“C:\Users\PC\Documents\ArduinoData\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++” -mcpu=cortex-m4 -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions “-D__SKETCH_NAME__=””“P-pantilt.ino””"" -w -x c++ -E -CC -DF_CPU=120000000L -DARDUINO=10812 -DARDUINO_GRAND_CENTRAL_M4 -DARDUINO_ARCH_SAMD -D__SAMD51P20A__ -DADAFRUIT_GRAND_CENTRAL_M4 -D__SAMD51__ -DUSB_VID=0x239A -DUSB_PID=0x8031 -DUSBCON -DUSB_CONFIG_POWER=100 “-DUSB_MANUFACTURER=“Adafruit LLC”” “-DUSB_PRODUCT=“Adafruit Grand Central M4"” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src” -D__FPU_PRESENT -DARM_MATH_CM4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DENABLE_CACHE -Os -DVARIANT_QSPI_BAUD_DEFAULT=50000000 -D__SAMD51P20A__ -DADAFRUIT_GRAND_CENTRAL_M4 -D__SAMD51__ -DUSB_VID=0x239A -DUSB_PID=0x8031 -DUSBCON -DUSB_CONFIG_POWER=100 “-DUSB_MANUFACTURER=“Adafruit LLC”” “-DUSB_PRODUCT=“Adafruit Grand Central M4"” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino/TinyUSB” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src” -D__FPU_PRESENT -DARM_MATH_CM4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 “-IC:\Users\PC\Documents\ArduinoData\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/” “-IC:\Users\PC\Documents\ArduinoData\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\variants\grand_central_m4” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\libraries\SPI” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\libraries\Adafruit_ZeroDMA” “C:\Users\PC\AppData\Local\Temp\arduino_build_813706\sketch\P-pantilt.ino.cpp” -o nul
“C:\Users\PC\Documents\ArduinoData\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++” -mcpu=cortex-m4 -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions “-D__SKETCH_NAME__=””“P-pantilt.ino””"" -w -x c++ -E -CC -DF_CPU=120000000L -DARDUINO=10812 -DARDUINO_GRAND_CENTRAL_M4 -DARDUINO_ARCH_SAMD -D__SAMD51P20A__ -DADAFRUIT_GRAND_CENTRAL_M4 -D__SAMD51__ -DUSB_VID=0x239A -DUSB_PID=0x8031 -DUSBCON -DUSB_CONFIG_POWER=100 “-DUSB_MANUFACTURER=“Adafruit LLC”” “-DUSB_PRODUCT=“Adafruit Grand Central M4"” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino/TinyUSB” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src” -D__FPU_PRESENT -DARM_MATH_CM4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DENABLE_CACHE -Os -DVARIANT_QSPI_BAUD_DEFAULT=50000000 -D__SAMD51P20A__ -DADAFRUIT_GRAND_CENTRAL_M4 -D__SAMD51__ -DUSB_VID=0x239A -DUSB_PID=0x8031 -DUSBCON -DUSB_CONFIG_POWER=100 “-DUSB_MANUFACTURER=“Adafruit LLC”” “-DUSB_PRODUCT=“Adafruit Grand Central M4"” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino/TinyUSB” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src” -D__FPU_PRESENT -DARM_MATH_CM4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 “-IC:\Users\PC\Documents\ArduinoData\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/” “-IC:\Users\PC\Documents\ArduinoData\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\variants\grand_central_m4” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\libraries\SPI” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\libraries\Adafruit_ZeroDMA” “C:\Users\PC\AppData\Local\Temp\arduino_build_813706\sketch\ZumoBuzzer.cpp” -o nul
Using cached library dependencies for file: C:\Users\PC\AppData\Local\Temp\arduino_build_813706\sketch\ZumoMotors.cpp
“C:\Users\PC\Documents\ArduinoData\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++” -mcpu=cortex-m4 -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions “-D__SKETCH_NAME__=””“P-pantilt.ino””"" -w -x c++ -E -CC -DF_CPU=120000000L -DARDUINO=10812 -DARDUINO_GRAND_CENTRAL_M4 -DARDUINO_ARCH_SAMD -D__SAMD51P20A__ -DADAFRUIT_GRAND_CENTRAL_M4 -D__SAMD51__ -DUSB_VID=0x239A -DUSB_PID=0x8031 -DUSBCON -DUSB_CONFIG_POWER=100 “-DUSB_MANUFACTURER=“Adafruit LLC”” “-DUSB_PRODUCT=“Adafruit Grand Central M4"” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino/TinyUSB” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src” -D__FPU_PRESENT -DARM_MATH_CM4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DENABLE_CACHE -Os -DVARIANT_QSPI_BAUD_DEFAULT=50000000 -D__SAMD51P20A__ -DADAFRUIT_GRAND_CENTRAL_M4 -D__SAMD51__ -DUSB_VID=0x239A -DUSB_PID=0x8031 -DUSBCON -DUSB_CONFIG_POWER=100 “-DUSB_MANUFACTURER=“Adafruit LLC”” “-DUSB_PRODUCT=“Adafruit Grand Central M4"” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino/TinyUSB” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src” -D__FPU_PRESENT -DARM_MATH_CM4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 “-IC:\Users\PC\Documents\ArduinoData\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/” “-IC:\Users\PC\Documents\ArduinoData\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\variants\grand_central_m4” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\libraries\SPI” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\libraries\Adafruit_ZeroDMA” “C:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\libraries\SPI\SPI.cpp” -o nul
“C:\Users\PC\Documents\ArduinoData\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++” -mcpu=cortex-m4 -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions “-D__SKETCH_NAME__=””“P-pantilt.ino””"" -w -x c++ -E -CC -DF_CPU=120000000L -DARDUINO=10812 -DARDUINO_GRAND_CENTRAL_M4 -DARDUINO_ARCH_SAMD -D__SAMD51P20A__ -DADAFRUIT_GRAND_CENTRAL_M4 -D__SAMD51__ -DUSB_VID=0x239A -DUSB_PID=0x8031 -DUSBCON -DUSB_CONFIG_POWER=100 “-DUSB_MANUFACTURER=“Adafruit LLC”” “-DUSB_PRODUCT=“Adafruit Grand Central M4"” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino/TinyUSB” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src” -D__FPU_PRESENT -DARM_MATH_CM4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DENABLE_CACHE -Os -DVARIANT_QSPI_BAUD_DEFAULT=50000000 -D__SAMD51P20A__ -DADAFRUIT_GRAND_CENTRAL_M4 -D__SAMD51__ -DUSB_VID=0x239A -DUSB_PID=0x8031 -DUSBCON -DUSB_CONFIG_POWER=100 “-DUSB_MANUFACTURER=“Adafruit LLC”” “-DUSB_PRODUCT=“Adafruit Grand Central M4"” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino/TinyUSB” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src” -D__FPU_PRESENT -DARM_MATH_CM4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 “-IC:\Users\PC\Documents\ArduinoData\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/” “-IC:\Users\PC\Documents\ArduinoData\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\variants\grand_central_m4” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\libraries\SPI” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\libraries\Adafruit_ZeroDMA” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\libraries\Adafruit_ZeroDMA\utility” “C:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\libraries\Adafruit_ZeroDMA\Adafruit_ZeroDMA.cpp” -o nul
Generating function prototypes…
“C:\Users\PC\Documents\ArduinoData\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++” -mcpu=cortex-m4 -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions “-D__SKETCH_NAME__=””“P-pantilt.ino””"" -w -x c++ -E -CC -DF_CPU=120000000L -DARDUINO=10812 -DARDUINO_GRAND_CENTRAL_M4 -DARDUINO_ARCH_SAMD -D__SAMD51P20A__ -DADAFRUIT_GRAND_CENTRAL_M4 -D__SAMD51__ -DUSB_VID=0x239A -DUSB_PID=0x8031 -DUSBCON -DUSB_CONFIG_POWER=100 “-DUSB_MANUFACTURER=“Adafruit LLC”” “-DUSB_PRODUCT=“Adafruit Grand Central M4"” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino/TinyUSB” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src” -D__FPU_PRESENT -DARM_MATH_CM4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DENABLE_CACHE -Os -DVARIANT_QSPI_BAUD_DEFAULT=50000000 -D__SAMD51P20A__ -DADAFRUIT_GRAND_CENTRAL_M4 -D__SAMD51__ -DUSB_VID=0x239A -DUSB_PID=0x8031 -DUSBCON -DUSB_CONFIG_POWER=100 “-DUSB_MANUFACTURER=“Adafruit LLC”” “-DUSB_PRODUCT=“Adafruit Grand Central M4"” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino/TinyUSB” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src” -D__FPU_PRESENT -DARM_MATH_CM4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 “-IC:\Users\PC\Documents\ArduinoData\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/” “-IC:\Users\PC\Documents\ArduinoData\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\variants\grand_central_m4” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\libraries\SPI” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\libraries\Adafruit_ZeroDMA” “C:\Users\PC\AppData\Local\Temp\arduino_build_813706\sketch\P-pantilt.ino.cpp” -o “C:\Users\PC\AppData\Local\Temp\arduino_build_813706\preproc\ctags_target_for_gcc_minus_e.cpp”
“C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.33.0_x86__mdqgnx93n4wtt\tools-builder\ctags\5.8-arduino11/ctags” -u --language-force=c++ -f - --c+±kinds=svpf --fields=KSTtzns --line-directives “C:\Users\PC\AppData\Local\Temp\arduino_build_813706\preproc\ctags_target_for_gcc_minus_e.cpp”
Compilando programa…
“C:\Users\PC\Documents\ArduinoData\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++” -mcpu=cortex-m4 -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -MMD “-D__SKETCH_NAME__=””“P-pantilt.ino””"" -DF_CPU=120000000L -DARDUINO=10812 -DARDUINO_GRAND_CENTRAL_M4 -DARDUINO_ARCH_SAMD -D__SAMD51P20A__ -DADAFRUIT_GRAND_CENTRAL_M4 -D__SAMD51__ -DUSB_VID=0x239A -DUSB_PID=0x8031 -DUSBCON -DUSB_CONFIG_POWER=100 “-DUSB_MANUFACTURER=“Adafruit LLC”” "-DUSB_PRODUCT=“Adafruit Grand Central M4"” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino/TinyUSB” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src” -D__FPU_PRESENT -DARM_MATH_CM4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DENABLE_CACHE -Os -DVARIANT_QSPI_BAUD_DEFAULT=50000000 -D__SAMD51P20A__ -DADAFRUIT_GRAND_CENTRAL_M4 -D__SAMD51__ -DUSB_VID=0x239A -DUSB_PID=0x8031 -DUSBCON -DUSB_CONFIG_POWER=100 “-DUSB_MANUFACTURER=“Adafruit LLC”” "-DUSB_PRODUCT=“Adafruit Grand Central M4"” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino/TinyUSB” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src” -D__FPU_PRESENT -DARM_MATH_CM4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 “-IC:\Users\PC\Documents\ArduinoData\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/” “-IC:\Users\PC\Documents\ArduinoData\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\cores\arduino” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\variants\grand_central_m4” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\libraries\SPI” “-IC:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\libraries\Adafruit_ZeroDMA” “C:\Users\PC\AppData\Local\Temp\arduino_build_813706\sketch\P-pantilt.ino.cpp” -o “C:\Users\PC\AppData\Local\Temp\arduino_build_813706\sketch\P-pantilt.ino.cpp.o”
Utilizando archivo previamente compilado: C:\Users\PC\AppData\Local\Temp\arduino_build_813706\sketch\ZumoMotors.cpp.o
ZumoBuzzer.cpp:90:5: error: expected constructor, destructor, or type conversion before ‘(’ token
ISR (TIMER2_OVF_vect)
^
C:\Users\PC\AppData\Local\Temp\arduino_build_813706\sketch\ZumoBuzzer.cpp: In static member function ‘static void ZumoBuzzer::init2()’:
ZumoBuzzer.cpp:31:36: error: ‘TIMSK2’ was not declared in this scope
#define DISABLE_TIMER_INTERRUPT() TIMSK2 = 0
^
C:\Users\PC\AppData\Local\Temp\arduino_build_813706\sketch\ZumoBuzzer.cpp:127:3: note: in expansion of macro ‘DISABLE_TIMER_INTERRUPT’
DISABLE_TIMER_INTERRUPT();
^~~~~~~~~~~~~~~~~~~~~~~
ZumoBuzzer.cpp:170:3: error: ‘TCCR2A’ was not declared in this scope
TCCR2A = 0x21; // bits 7 and 6 clear: normal port op., OC4A disconnected
^~~~~~
ZumoBuzzer.cpp:176:3: error: ‘TCCR2B’ was not declared in this scope
TCCR2B = 0x0B; // bit 7 clear: no force output compare for channel A
^~~~~~
ZumoBuzzer.cpp:193:3: error: ‘OCR2A’ was not declared in this scope
OCR2A = (F_CPU/64) / 1000; // set TOP for freq = 1 kHz
^~~~~
ZumoBuzzer.cpp:194:3: error: ‘OCR2B’ was not declared in this scope
OCR2B = 0; // 0% duty cycle
^~~~~
ZumoBuzzer.cpp:23:21: error: ‘DDRD’ was not declared in this scope
#define BUZZER_DDR DDRD
^
C:\Users\PC\AppData\Local\Temp\arduino_build_813706\sketch\ZumoBuzzer.cpp:197:3: note: in expansion of macro ‘BUZZER_DDR’
BUZZER_DDR |= BUZZER; // buzzer pin set as an output
^~~~~~~~~~
ZumoBuzzer.cpp:24:27: error: ‘PORTD3’ was not declared in this scope
#define BUZZER (1 << PORTD3)
^
C:\Users\PC\AppData\Local\Temp\arduino_build_813706\sketch\ZumoBuzzer.cpp:197:17: note: in expansion of macro ‘BUZZER’
BUZZER_DDR |= BUZZER; // buzzer pin set as an output
^~~~~~
ZumoBuzzer.cpp:198:3: error: ‘sei’ was not declared in this scope
sei();
^~~
C:\Users\PC\AppData\Local\Temp\arduino_build_813706\sketch\ZumoBuzzer.cpp: In static member function ‘static void ZumoBuzzer::playFrequency(unsigned int, unsigned int, unsigned char)’:
ZumoBuzzer.cpp:31:36: error: ‘TIMSK2’ was not declared in this scope
#define DISABLE_TIMER_INTERRUPT() TIMSK2 = 0
^
C:\Users\PC\AppData\Local\Temp\arduino_build_813706\sketch\ZumoBuzzer.cpp:270:3: note: in expansion of macro ‘DISABLE_TIMER_INTERRUPT’
DISABLE_TIMER_INTERRUPT(); // disable interrupts while writing to registers
^~~~~~~~~~~~~~~~~~~~~~~
ZumoBuzzer.cpp:283:3: error: ‘TCCR2B’ was not declared in this scope
TCCR2B = (TCCR2B & 0xF8) | newCS2; // select timer 2 clock prescaler
^~~~~~
ZumoBuzzer.cpp:284:3: error: ‘OCR2A’ was not declared in this scope
OCR2A = top; // set timer 2 pwm frequency
^~~~~
ZumoBuzzer.cpp:285:3: error: ‘OCR2B’ was not declared in this scope
OCR2B = top >> (16 - volume); // set duty cycle (volume)
^~~~~
ZumoBuzzer.cpp:288:3: error: ‘TIFR2’ was not declared in this scope
TIFR2 |= 0xFF; // clear any pending t2 overflow int.
^~~~~
ZumoBuzzer.cpp:30:51: error: ‘TOIE2’ was not declared in this scope
#define ENABLE_TIMER_INTERRUPT() TIMSK2 = (1 << TOIE2)
^
C:\Users\PC\AppData\Local\Temp\arduino_build_813706\sketch\ZumoBuzzer.cpp:291:3: note: in expansion of macro ‘ENABLE_TIMER_INTERRUPT’
ENABLE_TIMER_INTERRUPT();
^~~~~~~~~~~~~~~~~~~~~~
C:\Users\PC\AppData\Local\Temp\arduino_build_813706\sketch\ZumoBuzzer.cpp: In static member function ‘static void ZumoBuzzer::play(const char*)’:
ZumoBuzzer.cpp:31:36: error: ‘TIMSK2’ was not declared in this scope
#define DISABLE_TIMER_INTERRUPT() TIMSK2 = 0
^
C:\Users\PC\AppData\Local\Temp\arduino_build_813706\sketch\ZumoBuzzer.cpp:476:3: note: in expansion of macro ‘DISABLE_TIMER_INTERRUPT’
DISABLE_TIMER_INTERRUPT(); // prevent this from being interrupted
^~~~~~~~~~~~~~~~~~~~~~~
C:\Users\PC\AppData\Local\Temp\arduino_build_813706\sketch\ZumoBuzzer.cpp: In static member function ‘static void ZumoBuzzer::playFromProgramSpace(const char*)’:
ZumoBuzzer.cpp:31:36: error: ‘TIMSK2’ was not declared in this scope
#define DISABLE_TIMER_INTERRUPT() TIMSK2 = 0
^
C:\Users\PC\AppData\Local\Temp\arduino_build_813706\sketch\ZumoBuzzer.cpp:485:3: note: in expansion of macro ‘DISABLE_TIMER_INTERRUPT’
DISABLE_TIMER_INTERRUPT(); // prevent this from being interrupted
^~~~~~~~~~~~~~~~~~~~~~~
C:\Users\PC\AppData\Local\Temp\arduino_build_813706\sketch\ZumoBuzzer.cpp: In static member function ‘static void ZumoBuzzer::stopPlaying()’:
ZumoBuzzer.cpp:31:36: error: ‘TIMSK2’ was not declared in this scope
#define DISABLE_TIMER_INTERRUPT() TIMSK2 = 0
^
C:\Users\PC\AppData\Local\Temp\arduino_build_813706\sketch\ZumoBuzzer.cpp:496:3: note: in expansion of macro ‘DISABLE_TIMER_INTERRUPT’
DISABLE_TIMER_INTERRUPT(); // disable interrupts
^~~~~~~~~~~~~~~~~~~~~~~
ZumoBuzzer.cpp:506:3: error: ‘TCCR2B’ was not declared in this scope
TCCR2B = (TCCR2B & 0xF8) | TIMER2_CLK_32; // select IO clock
^~~~~~
ZumoBuzzer.cpp:507:3: error: ‘OCR2A’ was not declared in this scope
OCR2A = (F_CPU/64) / 1000; // set TOP for freq = 1 kHz
^~~~~
ZumoBuzzer.cpp:508:3: error: ‘OCR2B’ was not declared in this scope
OCR2B = 0; // 0% duty cycle
^~~~~
Usando librería SPI con versión 1.0 en la carpeta: C:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\libraries\SPI
Usando librería Adafruit_ZeroDMA con versión 1.0.4 en la carpeta: C:\Users\PC\Documents\ArduinoData\packages\adafruit\hardware\samd\1.5.14\libraries\Adafruit_ZeroDMA
exit status 1
expected constructor, destructor, or type conversion before ‘(’ token