Neopixel Sketch Problem

EL Wire/Tape/Panels, LEDs, pixels and strips, LCDs and TFTs, etc products from Adafruit

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
SamReynolds
 
Posts: 20
Joined: Sat May 24, 2014 10:12 pm

Neopixel Sketch Problem

Post by SamReynolds »

I have a Neopixel shield that I recently got. I tried uploading the strandtest sketch to it, however when I do an error shows saying 'Adafuirt_Neopixel' does not name a type. It also highlights the line of code: Adafruit_NeoPixel strip = Adafruit_NeoPixel(60, PIN, NEO_GRB + NEO_KHZ800);

User avatar
Franklin97355
 
Posts: 23940
Joined: Mon Apr 21, 2008 2:33 pm

Re: Neopixel Sketch Problem

Post by Franklin97355 »

Did you download the Adafruit_NeoPixel library? Take a look at this NeoPixel Uber Guide

User avatar
SamReynolds
 
Posts: 20
Joined: Sat May 24, 2014 10:12 pm

Re: Neopixel Sketch Problem

Post by SamReynolds »

Yes I did

User avatar
Franklin97355
 
Posts: 23940
Joined: Mon Apr 21, 2008 2:33 pm

Re: Neopixel Sketch Problem

Post by Franklin97355 »

Could you post clear pictures of your board, any soldering you did and the connections to it?
If you have the library installed and named correctly and are running unmodofied code there is no reason for this error. Where did you install the library, what did you name it and did you shut down the Arduino IDE after installing it?

Locked
Please be positive and constructive with your questions and comments.

Return to “Glowy things (LCD, LED, TFT, EL) purchased at Adafruit”