ArduinoGeneral

Audio Analyzer code help please

userHead silenthomicide 2017-02-19 00:30:25 2723 Views4 Replies
Hi,
so I've biught a AudioAnalzyer MSGEQ7 module recently, followed up with wiki, connected and uploaded test sketch. I want to highlight low freq range with led = on; and I cant figure out about code. Lets say, I want to LED turn on when frequency is at range of 4-1000 Hz.
Have anyone ever tried this? Need tips on code. Thanks in advance
2017-03-13 15:24:34 Hi

May I confirm which led kit you are using? Did you try to upload the code using 1.6.* IDE? Its possible to be a compatibility issues.
userHeadPic Wendy.Hu
2017-03-12 20:02:00 I'm having issues with the led kit everything works its just the code will not load gives me errors like thisArduino: 1.8.1 (Windows 10), Board: "Arduino/Genuino Uno"

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\gscot\OneDrive\Documents\Arduino\libraries -fqbn=arduino:avr:uno -ide-version=10801 -build-path C:\Users\gscot\AppData\Local\Temp\arduino_build_59705 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\gscot\OneDrive\Documents\Arduino\libraries\Newfolder\examples\audio\audio.ino
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\gscot\OneDrive\Documents\Arduino\libraries -fqbn=arduino:avr:uno -ide-version=10801 -build-path C:\Users\gscot\AppData\Local\Temp\arduino_build_59705 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\gscot\OneDrive\Documents\Arduino\libraries\Newfolder\examples\audio\audio.ino
Using board 'uno' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Using core 'arduino' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Detecting libraries used...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -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\gscot\AppData\Local\Temp\arduino_build_59705\sketch\audio.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -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" "-IC:\Users\gscot\OneDrive\Documents\Arduino\libraries\Adafruit_NeoPixel-master" "C:\Users\gscot\AppData\Local\Temp\arduino_build_59705\sketch\audio.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -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" "-IC:\Users\gscot\OneDrive\Documents\Arduino\libraries\Adafruit_NeoPixel-master" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "C:\Users\gscot\AppData\Local\Temp\arduino_build_59705\sketch\audio.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -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" "-IC:\Users\gscot\OneDrive\Documents\Arduino\libraries\Adafruit_NeoPixel-master" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "-IC:\Users\gscot\OneDrive\Documents\Arduino\libraries\Newfolder" "C:\Users\gscot\AppData\Local\Temp\arduino_build_59705\sketch\audio.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -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" "-IC:\Users\gscot\OneDrive\Documents\Arduino\libraries\Adafruit_NeoPixel-master" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "-IC:\Users\gscot\OneDrive\Documents\Arduino\libraries\Newfolder" "C:\Users\gscot\OneDrive\Documents\Arduino\libraries\Adafruit_NeoPixel-master\Adafruit_NeoPixel.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -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" "-IC:\Users\gscot\OneDrive\Documents\Arduino\libraries\Adafruit_NeoPixel-master" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "-IC:\Users\gscot\OneDrive\Documents\Arduino\libraries\Newfolder" "C:\Users\gscot\OneDrive\Documents\Arduino\libraries\Adafruit_NeoPixel-master\esp8266.c" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -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" "-IC:\Users\gscot\OneDrive\Documents\Arduino\libraries\Adafruit_NeoPixel-master" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "-IC:\Users\gscot\OneDrive\Documents\Arduino\libraries\Newfolder" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src\Wire.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -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" "-IC:\Users\gscot\OneDrive\Documents\Arduino\libraries\Adafruit_NeoPixel-master" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "-IC:\Users\gscot\OneDrive\Documents\Arduino\libraries\Newfolder" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src\utility\twi.c" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -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" "-IC:\Users\gscot\OneDrive\Documents\Arduino\libraries\Adafruit_NeoPixel-master" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "-IC:\Users\gscot\OneDrive\Documents\Arduino\libraries\Newfolder" "C:\Users\gscot\OneDrive\Documents\Arduino\libraries\Newfolder\Adafruit_NeoPixel.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -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" "-IC:\Users\gscot\OneDrive\Documents\Arduino\libraries\Adafruit_NeoPixel-master" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "-IC:\Users\gscot\OneDrive\Documents\Arduino\libraries\Newfolder" "C:\Users\gscot\OneDrive\Documents\Arduino\libraries\Newfolder\AudioAnalyzer.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -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" "-IC:\Users\gscot\OneDrive\Documents\Arduino\libraries\Adafruit_NeoPixel-master" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "-IC:\Users\gscot\OneDrive\Documents\Arduino\libraries\Newfolder" "C:\Users\gscot\OneDrive\Documents\Arduino\libraries\Newfolder\Metro.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -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" "-IC:\Users\gscot\OneDrive\Documents\Arduino\libraries\Adafruit_NeoPixel-master" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "-IC:\Users\gscot\OneDrive\Documents\Arduino\libraries\Newfolder" "C:\Users\gscot\OneDrive\Documents\Arduino\libraries\Newfolder\OneWire.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -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" "-IC:\Users\gscot\OneDrive\Documents\Arduino\libraries\Adafruit_NeoPixel-master" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "-IC:\Users\gscot\OneDrive\Documents\Arduino\libraries\Newfolder" "C:\Users\gscot\OneDrive\Documents\Arduino\libraries\Newfolder\PlainProtocol.cpp" -o "nul"
Generating function prototypes...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -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" "-IC:\Users\gscot\OneDrive\Documents\Arduino\libraries\Adafruit_NeoPixel-master" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "-IC:\Users\gscot\OneDrive\Documents\Arduino\libraries\Newfolder" "C:\Users\gscot\AppData\Local\Temp\arduino_build_59705\sketch\audio.ino.cpp" -o "C:\Users\gscot\AppData\Local\Temp\arduino_build_59705\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\gscot\AppData\Local\Temp\arduino_build_59705\preproc\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -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" "-IC:\Users\gscot\OneDrive\Documents\Arduino\libraries\Adafruit_NeoPixel-master" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "-IC:\Users\gscot\OneDrive\Documents\Arduino\libraries\Newfolder" "C:\Users\gscot\AppData\Local\Temp\arduino_build_59705\sketch\audio.ino.cpp" -o "C:\Users\gscot\AppData\Local\Temp\arduino_build_59705\sketch\audio.ino.cpp.o"
Compiling libraries...
Compiling library "Adafruit_NeoPixel-master"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -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" "-IC:\Users\gscot\OneDrive\Documents\Arduino\libraries\Adafruit_NeoPixel-master" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "-IC:\Users\gscot\OneDrive\Documents\Arduino\libraries\Newfolder" "C:\Users\gscot\OneDrive\Documents\Arduino\libraries\Adafruit_NeoPixel-master\esp8266.c" -o "C:\Users\gscot\AppData\Local\Temp\arduino_build_59705\libraries\Adafruit_NeoPixel-master\esp8266.c.o"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -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" "-IC:\Users\gscot\OneDrive\Documents\Arduino\libraries\Adafruit_NeoPixel-master" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "-IC:\Users\gscot\OneDrive\Documents\Arduino\libraries\Newfolder" "C:\Users\gscot\OneDrive\Documents\Arduino\libraries\Adafruit_NeoPixel-master\Adafruit_NeoPixel.cpp" -o "C:\Users\gscot\AppData\Local\Temp\arduino_build_59705\libraries\Adafruit_NeoPixel-master\Adafruit_NeoPixel.cpp.o"
Compiling library "Wire"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -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" "-IC:\Users\gscot\OneDrive\Documents\Arduino\libraries\Adafruit_NeoPixel-master" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "-IC:\Users\gscot\OneDrive\Documents\Arduino\libraries\Newfolder" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src\Wire.cpp" -o "C:\Users\gscot\AppData\Local\Temp\arduino_build_59705\libraries\Wire\Wire.cpp.o"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -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" "-IC:\Users\gscot\OneDrive\Documents\Arduino\libraries\Adafruit_NeoPixel-master" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "-IC:\Users\gscot\OneDrive\Documents\Arduino\libraries\Newfolder" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src\utility\twi.c" -o "C:\Users\gscot\AppData\Local\Temp\arduino_build_59705\libraries\Wire\utility\twi.c.o"
Compiling library "Newfolder"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -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" "-IC:\Users\gscot\OneDrive\Documents\Arduino\libraries\Adafruit_NeoPixel-master" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "-IC:\Users\gscot\OneDrive\Documents\Arduino\libraries\Newfolder" "C:\Users\gscot\OneDrive\Documents\Arduino\libraries\Newfolder\Adafruit_NeoPixel.cpp" -o "C:\Users\gscot\AppData\Local\Temp\arduino_build_59705\libraries\Newfolder\Adafruit_NeoPixel.cpp.o"
C:\Users\gscot\OneDrive\Documents\Arduino\libraries\Newfolder\Adafruit_NeoPixel.cpp:36:1: error: prototype for 'Adafruit_NeoPixel::Adafruit_NeoPixel(uint16_t, uint8_t, uint8_t)' does not match any in class 'Adafruit_NeoPixel'

Adafruit_NeoPixel::Adafruit_NeoPixel(uint16_t n, uint8_t p, uint8_t t) : numLEDs(n), numBytes(n * 3), pin(p), type(t), pixels(NULL)

^

In file included from C:\Users\gscot\OneDrive\Documents\Arduino\libraries\Newfolder\Adafruit_NeoPixel.cpp:34:0:

C:\Users\gscot\OneDrive\Documents\Arduino\libraries\Adafruit_NeoPixel-master/Adafruit_NeoPixel.h:116:7: error: candidates are: constexpr Adafruit_NeoPixel::Adafruit_NeoPixel(const Adafruit_NeoPixel&)

class Adafruit_NeoPixel {

^

C:\Users\gscot\OneDrive\Documents\Arduino\libraries\Adafruit_NeoPixel-master/Adafruit_NeoPixel.h:122:3: error: Adafruit_NeoPixel::Adafruit_NeoPixel()

Adafruit_NeoPixel(void);

^

C:\Users\gscot\OneDrive\Documents\Arduino\libraries\Adafruit_NeoPixel-master/Adafruit_NeoPixel.h:121:3: error: Adafruit_NeoPixel::Adafruit_NeoPixel(uint16_t, uint8_t, neoPixelType)

Adafruit_NeoPixel(uint16_t n, uint8_t p=6, neoPixelType t=NEO_GRB + NEO_KHZ800);

^

In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28:0,

from C:\Users\gscot\OneDrive\Documents\Arduino\libraries\Adafruit_NeoPixel-master/Adafruit_NeoPixel.h:23,

from C:\Users\gscot\OneDrive\Documents\Arduino\libraries\Newfolder\Adafruit_NeoPixel.cpp:34:

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:181:55: error: expected unqualified-id before ')' token

#define portOutputRegister(P) ( (volatile uint8_t *)( pgm_read_word( port_to_output_PGM + (P))) )

^

C:\Users\gscot\OneDrive\Documents\Arduino\libraries\Newfolder\Adafruit_NeoPixel.cpp:38:9: note: in expansion of macro 'portOutputRegister'

,port(portOutputRegister(digitalPinToPort(p))),

^

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:178:34: error: expected unqualified-id before ')' token

#define digitalPinToBitMask(P) ( pgm_read_byte( digital_pin_to_bit_mask_PGM + (P) ) )

^

C:\Users\gscot\OneDrive\Documents\Arduino\libraries\Newfolder\Adafruit_NeoPixel.cpp:39:12: note: in expansion of macro 'digitalPinToBitMask'

pinMask(digitalPinToBitMask(p))

^

Using library Adafruit_NeoPixel-master at version 1.0.6 in folder: C:\Users\gscot\OneDrive\Documents\Arduino\libraries\Adafruit_NeoPixel-master
Using library Wire at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire
Using library Newfolder in folder: C:\Users\gscot\OneDrive\Documents\Arduino\libraries\Newfolder (legacy)
exit status 1
Error compiling for board Arduino/Genuino Uno. Can anyone help?
userHeadPic gscott1962
2017-02-22 13:42:40 Hi

Sorry for your bad experience.
I am glad to hear that you have solved your problem. If there are some sharing, that would be great.
userHeadPic Wendy.Hu
2017-02-21 16:37:31 Dead forum;
Solved
/thread
userHeadPic silenthomicide