You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Veryfing code using this library in Particle Build fails with this error:
HttpClient/HttpClient.cpp:172:37: error: 'millis' was not declared in this scope
unsigned long lastRead = millis()
HttpClient/HttpClient.cpp:231:22: error: 'delay' was not declared in this scope
delay(200);
HttpClient/HttpClient.cpp:266:47: error: 'atoi' was not declared in this scope
aResponse.status = atoi(statusCode.c_str());
The text was updated successfully, but these errors were encountered:
ilessiivi
pushed a commit
to ilessiivi/HttpClient
that referenced
this issue
Jul 7, 2015
I ran into this problem myself and as suggested here, HttpClient.h needs to have #include "application.h" in order to work on Photons. I created the pull request #20 for this.
Veryfing code using this library in Particle Build fails with this error:
The text was updated successfully, but these errors were encountered: