I am re-writing my firmware and making it more manageable and easier to maintain. This involves breaking it out into separate classes and files. Currently there are three files: main .ino file, one .h file and one .cpp file. I am doing this in Particle Dev studio (Atom editor).
The question is: how do I refer to built-in String and Time classes in these other files? What should I include?
Cool, that did part of the trick! String is now under control. Time class is still missing. It says: “‘Time’ is not a class, namespace, or enumeration”. Any ideas?
Oops… my bad. I had Time::now() in the code as well (I tested my functionality in another environement and accidentally left that, as I used time.h in that environment). So Time class works too. Thanks a lot for your help!