my firmware works fine.
Now I’d like to add the SoftAp mechanism.
But when I add the sample code, it won’t compile anymore.
I’m getting different errors, depending on where in my firmware I place the code.
For example these errors:
src/Tomatotent.cpp:13:1: error: 'String' does not name a type String currentScreen = "homeScreen";
if I don’t include Particle.h it says:
src/Tomatotent.ino:3:30: error: 'ResponseCallback' has not been declared src/Tomatotent.ino:3:65: error: 'Reader' has not been declared src/Tomatotent.ino:3:79: error: 'Writer' has not been declared
I can get the Softap sample to work fine standalone, without any other code.
But when using it in my existing firmware it won’t work.
Does someone know why its not compiling?
My code is here.