Adafruit - THE MUSICAL - is here! Get a musical tour of Becky's favorite tools around the Adafruit factory (video) and subscribe!

Adafruit_NeoPixel does not name a type
Moderators: adafruit_support_bill, adafruit

Adafruit_NeoPixel does not name a type

by rcichew on Tue Oct 29, 2013 7:30 pm

Keep getting the name type message. Tried Adafruit_NeoPixel strip = Adafruit_NeoPixel (8, 6, NEO_GRB + NEO_KHZ800); Using Adafruit 8 NeoPixel stick and pin 6 and Adafruit NeoPixel library. Checked to be sure NeoPixel h and cpp are in the right folders. Ist time using NeoPixel. What did I miss?

Also several "strip' was not declared in this scope"

Thanks
rcichew
 
Posts: 1
Joined: Wed Oct 16, 2013 6:56 pm

Re: Adafruit_NeoPixel does not name a type

by pburgess on Tue Oct 29, 2013 8:14 pm

Still sounds like the library's not correctly installed. Where is it located, and is it nested inside other folders or anything? Also, restart the Arduino IDE.
User avatar
pburgess
 
Posts: 2760
Joined: Sun Oct 26, 2008 2:29 am

Re: Adafruit_NeoPixel does not name a type

by adafruit_support_rick on Wed Oct 30, 2013 7:20 am

Please review our tutorial on installing libraries:
http://learn.adafruit.com/adafruit-all- ... nstall-use

adafruit_support_rick
 
Posts: 14458
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY