I’ve made a sketch which I basically want to turn into a library to use in a another sketch, but I’m having alot of problems:
1: if this library depends on other libraries, where do the include statements go -the class header or the main program?
2: I want everything to be static (no instantiation)-where do I declare static variables?
3: Where do #define statements go -header or cpp?
4: what must I include to get the regular arduino functions (digitalWrite, etc.)?
Maybe the best thing would be a good example…