Hello there,
First post! I am trying to build this project almost exactly hardware wise using Arduino Nano based on this tutorial http://natural-nerd.com/music-reactive-light/ .
The Code compiles without any problem as it is simply a copy and paste. The code is here: Natural-Nerd/sound_reactive.ino at master · hansjny/Natural-Nerd · GitHub
I also have downloaded the Fastled library. I made sure my board matches the Tool section.
Below are some picture and the error message I got when I tried to upload it to my board.
Arduino: 1.8.5 (Windows Store 1.8.10.0) (Windows 10), Board: "Arduino Nano, ATmega328P"
C:\Users\Michael\Documents\Arduino\LEDLIT\LEDLIT.ino:22:0: warning: "HIGH" redefined
#define HIGH 3
^
In file included from sketch\LEDLIT.ino.cpp:1:0:
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino/Arduino.h:40:0: note: this is the location of the previous definition
#define HIGH 0x1
^
In file included from C:\Users\Michael\Documents\Arduino\LEDLIT\LEDLIT.ino:1:0:
C:\Users\Michael\Documents\Arduino\libraries\FastLED/FastLED.h:17:21: note: #pragma message: FastLED version 3.001.007
pragma message "FastLED version 3.001.007"
^
Sketch uses 8640 bytes (28%) of program storage space. Maximum is 30720 bytes.
Global variables use 798 bytes (38%) of dynamic memory, leaving 1250 bytes for local variables. Maximum is 2048 bytes.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x02
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x02
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x02
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x02
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x02
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x02
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x02
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x02
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x02
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x02
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
I have tried some of the troubleshoot recommendation on the Arduino troubleshooting section, but maybe I have missed something. Thank you for your time <3