Template Error on new board "We were not able to upload the template sketch"

I'm using Arduino Nano RP2040 Connect and attempting to install the Puzzle Box Template, I keep getting this error:

/tmp/2821720095/Puzzle_Box_jul11a/Puzzle_Box_jul11a.ino: In function 'void loop()': /tmp/2821720095/Puzzle_Box_jul11a/Puzzle_Box_jul11a.ino:70:4: error: 'playMelody' was not declared in this scope playMelody(); ^~~~~~~~~~ /tmp/2821720095/Puzzle_Box_jul11a/Puzzle_Box_jul11a.ino:70:4: note: suggested alternative: 'Melody' playMelody(); ^~~~~~~~~~ Melody Multiple libraries were found for "ArduinoECCX08.h" Used: /home/builder/opt/libraries/arduinoeccx08_1_3_7 Not used: /home/builder/opt/libraries/rak5814_atecc608a_1_0_0 Multiple libraries were found for "Servo.h" Used: /home/builder/opt/libraries/servo_1_2_1 Not used: /home/builder/opt/libraries/servoesp32_1_0_3 Not used: /home/builder/opt/libraries/evive_2_0_3 Not used: /home/builder/opt/libraries/esp32_esp32s2_analogwrite_5_0_2 Not used: /home/builder/opt/libraries/microbitv2_hhs_0_1_6 Not used: /home/builder/opt/libraries/printoo_library_1_0_2 Not used: /home/builder/opt/libraries/xmc_servo_1_0_1 Not used: /home/builder/opt/libraries/rokitsmart_1_0_9 Multiple libraries were found for "SPI.h" Used: /home/builder/.arduino15/packages/arduino/hardware/mbed_nano/4.0.2/libraries/SPI Not used: /home/builder/opt/libraries/eventethernet_1_0_0 Multiple libraries were found for "WiFiNINA.h" Used: /home/builder/opt/libraries/wifinina_1_8_14 Not used: /home/builder/opt/libraries/vega_wifinina_1_0_0 Error during build: exit status 1

I followed this link which explains that I should remove any custom libraries, but I don't have any! I just started using this board.

I am pretty new to microcontrollers, I can read code but I don't know what anything here means. Thanks for your help!

Hello, Have you got any feedback on this one? I get the same error for RP2040 when I try to use the Puzzle box template from here https://app.arduino.cc/templates/puzzle-box

I suspect this may be the antivirus blocking the file to download.

My error message is
/tmp/3567219030/Puzzle_Box_dec15a/Puzzle_Box_dec15a.ino: In function 'void loop()': /tmp/3567219030/Puzzle_Box_dec15a/Puzzle_Box_dec15a.ino:70:4: error: 'playMelody' was not declared in this scope playMelody(); ^~~~~~~~~~ /tmp/3567219030/Puzzle_Box_dec15a/Puzzle_Box_dec15a.ino:70:4: note: suggested alternative: 'Melody' playMelody(); ^~~~~~~~~~ Melody Multiple libraries were found for "ArduinoECCX08.h" Used: /home/builder/opt/libraries/arduinoeccx08_1_3_7 Not used: /home/builder/opt/libraries/rak5814_atecc608a_1_0_0 Multiple libraries were found for "Wire.h" Used: /home/builder/.arduino15/packages/arduino/hardware/mbed_nano/4.0.10/libraries/Wire Not used: /home/builder/opt/libraries/flexwire_1_0_0 Multiple libraries were found for "Servo.h" Used: /home/builder/opt/libraries/servo_1_2_1 Not used: /home/builder/opt/libraries/rokitsmart_1_0_9 Not used: /home/builder/opt/libraries/microbitv2_hhs_0_1_6 Not used: /home/builder/opt/libraries/xmc_servo_1_0_1 Not used: /home/builder/opt/libraries/esp32_esp32s2_analogwrite_5_0_2 Not used: /home/builder/opt/libraries/servoesp32_1_1_1 Not used: /home/builder/opt/libraries/printoo_library_1_0_2 Not used: /home/builder/opt/libraries/evive_2_0_3 Multiple libraries were found for "SPI.h" Used: /home/builder/.arduino15/packages/arduino/hardware/mbed_nano/4.0.10/libraries/SPI Not used: /home/builder/opt/libraries/eventethernet_1_0_0 Multiple libraries were found for "WiFiNINA.h" Used: /home/builder/opt/libraries/wifinina_1_8_14 Not used: /home/builder/opt/libraries/vega_wifinina_1_0_1 Error during build: exit status 1

Please let me know if you figure it out.

FYI: I tried to download with Linux and got just the circling logo nothing else for about 30 seconds so I gave up.

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