First Time Creating Library In Arduino

Hello all, I am having trouble installing a library I made for the ID12 RFID reader. I have both the .h and .cpp files created but I want to actually start using them and debug any errors I have in the library. I stuck the library in this directory:

\Arduino\libraries\ID12Reader

I am able to import the library (though the text color does not change unlike some other libraries). I went to see if I could try out this code as a start; I am providing a value for the reset pin:

#include <ID12Reader.h>

void setup()
{
ID12Reader myRFID(24);
}

void loop()
{

}

But when I try to verify the syntax, I get an error for undefined reference for my constructor and destructor. Any hints? I have toying with this whole thing for a couple of hours and got this far.

ID12Reader.zip (1.65 KB)

though the text color does not change unlike some other libraries

You will need to make a keywords text file. Take a look at another library and see how its made. Note: it is not a normal space between the function name and the KEYWORD1/2 or LITERAL1, its a single tab space. It doesn't always tab over the same amount but if you do it correctly, your function names will be orange.

#include <ID12Reader.h>

Some reason you are not doing this right?

#include "ID12Reader.h"