I've written a library to manage a NeoPixel ring controlling fading in and out, it worked fine.
Then I though I would add a method to add the NeoPixel object definition as a pointer to the class. I added the method prototype to my class definition:
void setNeoPixels(Adafruit_NeoPixel* pobjNeoPixels, uint8_t u8NumPixels);
And included the header:
#include <Adafruit_NeoPixel.h>
At the top of my class header file.
When I try to verify the project I get:
In file included from ring-demo.ino:1:0:
D:\Program Files (x86)\Arduino\libraries\clsFader/clsFader.h:37:33: fatal error: Adafruit_NeoPixel.h: No such file or directory
#include <Adafruit_NeoPixel.h>
^
compilation terminated.
Error compiling.
What have I done wrong?