First of all let me apologise if this is not the correct section to post this.
I'm using the Adafruit_NeoPixel arduino library in a project in Atmel Studio 7. While trying to buil the project I get this error
Code: Select all
Severity Code Description Project File Line
Error undefined reference to `Adafruit_NeoPixel::Adafruit_NeoPixel(unsigned int, unsigned char, unsigned int)' Touch D:\touch-base\Main\Touch\light.h 11
Error undefined reference to `Adafruit_NeoPixel::~Adafruit_NeoPixel()' Touch D:\touch-base\Main\Touch\light.h 11
Code: Select all
#include <Adafruit_NeoPixel.h>
#define LED_COUNT 8
#define LED_DRIVER_PIN 7
Adafruit_NeoPixel lights = Adafruit_NeoPixel(LED_COUNT, LED_DRIVER_PIN, NEO_RGB + NEO_KHZ800);
{Some code}