I am trying to write a class/function that I think I will be using often in my Arduino IDE, I know the code but where should i save the file so that the IDE picks it up without a full directory address in the #include line, as you may guess I'm a little new to this....
If you think you will be reusing this code frequently, you might want to make a library as suggested by Joachim. Your library can then be added to any sketch you write using a
The arduino website has a nice guide on writing libraries, check it out here.
If you would just like to include your header file in a sketch without writing a library, placing the header file in the same directory as your sketch should compile if you use