I am writing a class in .h and .cpp files that will go with .ino.
So to include the class i only have to write #include in .ino and the class already gets decleared, definded and one instance of it already gets intialized with using "extern" word.
All this is with goal that a user could only write the include statement in ino file. But now i have come to a problem, where i would need to put a piece of code in continues checking, like in a loop function. Is it possible to put something there without actually writing it in a .ino file? so a user could still only put the include statement? I know i could define some interputs from the .h and .cpp and accomplish this, but is there another way?
Thank you in advance to you all.