Need Help Creating a Library for an EEG Sensor

Hi,

I am trying to create a library for an EEG sensor and was wondering how difficult it is and what steps I should follow to create it.

I want to base my library off of another library that I found on frontier nerds (How to Hack Toy EEGs | Frontier Nerds). With the specific library being http://github.com/kitschpatrol/Arduino-Brain-Library/zipball/master .

All I need is for the library read different brainwave values from a circuit; however, I am unsure what exactly I need to do.

Thank you for your help,

I am trying to create a library for an EEG sensor and was wondering how difficult it is

If you have a set of functions that read data from the sensor, then putting them into a class, defined in a library, is easy. If you don't, then you do not have any basis for building a library, so building the library will be a lot more difficult.

All I need is for the library read different brainwave values from a circuit

What circuit is generating brainwave values?