author
3CommentsJoined September 25th, 2015

Tell us about yourself!

Complete Your Profile
  • How to Make LEDs Flash to Music with an Arduino

    Thank you so much...

    View Instructable »
  • MaiH3 commented on stauhidi's instructable Arduino RGB LED Music Lights3 years ago
    Arduino RGB LED Music Lights

    C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware "C:\Program Files (x86)\Arduino\hardware" -tools "C:\Program Files (x86)\Arduino\tools-builder" -tools "C:\Program Files (x86)\Arduino\hardware\tools\avr" -built-in-libraries "C:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\HieuPhysics\Documents\Arduino\libraries" -fqbn=arduino:avr:uno -ide-version=10607 -build-path "C:\Users\HIEUPH~1\AppData\Local\Temp\buildbfe527539d40d23b2e85452625ad86ed.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Users\HieuPhysics\Downloads\RGBmusic\RGBmusic.pde"C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware "C:\Program Files (x86)\Ar...

    see more »

    C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware "C:\Program Files (x86)\Arduino\hardware" -tools "C:\Program Files (x86)\Arduino\tools-builder" -tools "C:\Program Files (x86)\Arduino\hardware\tools\avr" -built-in-libraries "C:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\HieuPhysics\Documents\Arduino\libraries" -fqbn=arduino:avr:uno -ide-version=10607 -build-path "C:\Users\HIEUPH~1\AppData\Local\Temp\buildbfe527539d40d23b2e85452625ad86ed.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Users\HieuPhysics\Downloads\RGBmusic\RGBmusic.pde"C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware "C:\Program Files (x86)\Arduino\hardware" -tools "C:\Program Files (x86)\Arduino\tools-builder" -tools "C:\Program Files (x86)\Arduino\hardware\tools\avr" -built-in-libraries "C:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\HieuPhysics\Documents\Arduino\libraries" -fqbn=arduino:avr:uno -ide-version=10607 -build-path "C:\Users\HIEUPH~1\AppData\Local\Temp\buildbfe527539d40d23b2e85452625ad86ed.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Users\HieuPhysics\Downloads\RGBmusic\RGBmusic.pde""C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "C:\Users\HIEUPH~1\AppData\Local\Temp\buildbfe527539d40d23b2e85452625ad86ed.tmp\sketch\RGBmusic.pde.cpp" -o "nul""C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "C:\Users\HIEUPH~1\AppData\Local\Temp\buildbfe527539d40d23b2e85452625ad86ed.tmp\sketch\RGBmusic.pde.cpp" -o "nul""C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "C:\Users\HIEUPH~1\AppData\Local\Temp\buildbfe527539d40d23b2e85452625ad86ed.tmp\sketch\RGBmusic.pde.cpp" -o "C:\Users\HIEUPH~1\AppData\Local\Temp\buildbfe527539d40d23b2e85452625ad86ed.tmp\preproc\ctags_target_for_gcc_minus_e.cpp""C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino5/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\HIEUPH~1\AppData\Local\Temp\buildbfe527539d40d23b2e85452625ad86ed.tmp\preproc\ctags_target_for_gcc_minus_e.cpp""C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "C:\Users\HIEUPH~1\AppData\Local\Temp\buildbfe527539d40d23b2e85452625ad86ed.tmp\sketch\RGBmusic.pde.cpp" -o "C:\Users\HIEUPH~1\AppData\Local\Temp\buildbfe527539d40d23b2e85452625ad86ed.tmp\sketch\RGBmusic.pde.cpp.o"RGBmusic:42: error: stray '#' in program background(#151515); ^RGBmusic:47: error: stray '#' in program stroke(#FFF700); ^RGBmusic:84: error: stray '#' in program stroke(#FF0000); ^RGBmusic:94: error: stray '#' in program fill(#111111); ^RGBmusic:98: error: stray '#' in program fill(#046700); ^RGBmusic:1: error: 'import' does not name a type import ddf.minim.*; ^RGBmusic:2: error: 'import' does not name a type import ddf.minim.analysis.*; ^RGBmusic:3: error: 'import' does not name a type import processing.serial.*; ^RGBmusic:4: error: 'import' does not name a type import cc.arduino.*; ^RGBmusic:6: error: 'Arduino' does not name a type Arduino arduino; ^RGBmusic:8: error: 'Minim' does not name a type Minim minim; ^RGBmusic:9: error: 'AudioPlayer' does not name a type AudioPlayer song; ^RGBmusic:10: error: 'FFT' does not name a type FFT fft; ^C:\Users\HieuPhysics\Downloads\RGBmusic\RGBmusic.pde: In function 'void setup()':RGBmusic:29: error: 'size' was not declared in this scope size(800, 600); ^RGBmusic:31: error: 'arduino' was not declared in this scope arduino = new Arduino(this, "/dev/ttyUSB0", 57600); ^RGBmusic:31: error: expected type-specifier before 'Arduino' arduino = new Arduino(this, "/dev/ttyUSB0", 57600); ^RGBmusic:31: error: expected ';' before 'Arduino'RGBmusic:32: error: 'Arduino' was not declared in this scope for (int i = 0; i <= 13; i++) arduino.pinMode(i, Arduino.OUTPUT); ^In file included from C:\Users\HIEUPH~1\AppData\Local\Temp\buildbfe527539d40d23b2e85452625ad86ed.tmp\sketch\RGBmusic.pde.cpp:1:0:C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:44:16: error: expected unqualified-id before numeric constant #define OUTPUT 0x1 ^C:\Users\HieuPhysics\Downloads\RGBmusic\RGBmusic.pde:32:62: note: in expansion of macro 'OUTPUT' for (int i = 0; i <= 13; i++) arduino.pinMode(i, Arduino.OUTPUT); ^C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:40:14: error: expected unqualified-id before numeric constant #define HIGH 0x1 ^C:\Users\HieuPhysics\Downloads\RGBmusic\RGBmusic.pde:33:66: note: in expansion of macro 'HIGH' for (int i = 0; i <= 13; i++) arduino.digitalWrite(i,arduino.HIGH); ^RGBmusic:35: error: 'minim' was not declared in this scope minim = new Minim(this); ^RGBmusic:35: error: expected type-specifier before 'Minim' minim = new Minim(this); ^RGBmusic:35: error: expected ';' before 'Minim'RGBmusic:36: error: 'song' was not declared in this scope song = minim.loadFile("fugly.mp3"); ^RGBmusic:38: error: 'fft' was not declared in this scope fft = new FFT(song.bufferSize(), song.sampleRate()); ^RGBmusic:38: error: expected type-specifier before 'FFT' fft = new FFT(song.bufferSize(), song.sampleRate()); ^RGBmusic:38: error: expected ';' before 'FFT'C:\Users\HieuPhysics\Downloads\RGBmusic\RGBmusic.pde: In function 'void draw()':RGBmusic:42: error: 'background' was not declared in this scope background(#151515); ^RGBmusic:44: error: 'fft' was not declared in this scope fft.forward(song.mix); ^RGBmusic:44: error: 'song' was not declared in this scope fft.forward(song.mix); ^RGBmusic:46: error: 'strokeWeight' was not declared in this scope strokeWeight(1.3); ^RGBmusic:47: error: 'FFF700' was not declared in this scope stroke(#FFF700); ^RGBmusic:47: error: 'stroke' was not declared in this scope stroke(#FFF700); ^RGBmusic:50: error: 'pushMatrix' was not declared in this scope pushMatrix(); ^RGBmusic:51: error: 'translate' was not declared in this scope translate(250, 0); ^RGBmusic:53: error: 'height' was not declared in this scope line(i, height*4/5, i, height*4/5 - fft.getBand(i)*4); ^RGBmusic:53: error: 'line' was not declared in this scope line(i, height*4/5, i, height*4/5 - fft.getBand(i)*4); ^RGBmusic:54: error: 'text' was not declared in this scope if(i%100==0) text(fft.getBand(i), i, height*4/5+20); ^RGBmusic:82: error: 'popMatrix' was not declared in this scope popMatrix(); ^RGBmusic:84: error: 'FF0000' was not declared in this scope stroke(#FF0000); ^RGBmusic:88: error: 'line' was not declared in this scope line(i, 50 + song.left.get(i)*50, i+1, 50 + song.left.get(i+1)*50); ^RGBmusic:93: error: 'noStroke' was not declared in this scope noStroke(); ^RGBmusic:94: error: 'fill' was not declared in this scope fill(#111111); ^RGBmusic:95: error: 'height' was not declared in this scope rect(0, 0, 250, height); ^RGBmusic:95: error: 'rect' was not declared in this scope rect(0, 0, 250, height); ^RGBmusic:97: error: 'textSize' was not declared in this scope textSize(24); ^RGBmusic:99: error: 'text' was not declared in this scope text("left amplitude", 10, 50); ^C:\Users\HieuPhysics\Downloads\RGBmusic\RGBmusic.pde: In function 'void stop()':RGBmusic:107: error: 'arduino' was not declared in this scope for (int i = 0; i <= 13; i++) arduino.digitalWrite(i,arduino.HIGH); ^In file included from C:\Users\HIEUPH~1\AppData\Local\Temp\buildbfe527539d40d23b2e85452625ad86ed.tmp\sketch\RGBmusic.pde.cpp:1:0:C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:40:14: error: expected unqualified-id before numeric constant #define HIGH 0x1 ^C:\Users\HieuPhysics\Downloads\RGBmusic\RGBmusic.pde:107:66: note: in expansion of macro 'HIGH' for (int i = 0; i <= 13; i++) arduino.digitalWrite(i,arduino.HIGH); ^RGBmusic:108: error: 'song' was not declared in this scope song.close(); ^RGBmusic:109: error: 'minim' was not declared in this scope minim.stop(); ^RGBmusic:110: error: 'super' was not declared in this scope super.stop(); ^C:\Users\HieuPhysics\Downloads\RGBmusic\RGBmusic.pde: In function 'void setColor1(int, int, int)':RGBmusic:119: error: 'arduino' was not declared in this scope arduino.digitalWrite(redPin1, red); ^C:\Users\HieuPhysics\Downloads\RGBmusic\RGBmusic.pde: In function 'void setColor2(int, int, int)':RGBmusic:130: error: 'arduino' was not declared in this scope arduino.digitalWrite(redPin2, red); ^C:\Users\HieuPhysics\Downloads\RGBmusic\RGBmusic.pde: In function 'void setColor3(int, int, int)':RGBmusic:141: error: 'arduino' was not declared in this scope arduino.digitalWrite(redPin3, red); ^exit status 1stray '#' in programI got that message and do not know how to fix it. Please help me!!!

    View Instructable »