I am trying wot work with LED and Potentiometer but getting following error.

FlashingLED:22: error: 'Adafruit_NeoPixel' does not name a type FlashingLED.ino: In function 'void setup()': FlashingLED:35: error: 'pixels' was not declared in this scope FlashingLED.ino: In function 'void loop()': FlashingLED:55: error: 'pixels' was not declared in this scope FlashingLED:69: error: 'pixels' was not declared in this scope

Post your code (and don't forget to use code tags when posting on this forum); see http://forum.arduino.cc/index.php/topic,148850.0.html, specifically point #7. If it exceeds roughly 9 kB, attach it.

It seems that the neopixel library is not implemented properly. Best I can say without seeing your code. Please read the "how to use this forum-please read" stickies to see how to properly format and post code. Also, there are hints on asking an effective question.

http://forum.arduino.cc/index.php/topic,148850.0.html

7 and #11 especially.