-
-
Save dkbay/ab3fedf5e89d841d25b24fb829df74ef to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Arduino: 1.8.8 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Serial, 115200, 4M (3M SPIFFS)" | |
C:\Users\Dkbay gaming\Documents\Arduino\sketch_jan27e\sketch_jan27e.ino: In function 'void loop()': | |
sketch_jan27e:47:56: error: no matching function for call to 'HTTPClient::sendRequest(const char [4], String)' | |
int httpCode = http.sendRequest("PUT", String(data)); | |
^ | |
C:\Users\Dkbay gaming\Documents\Arduino\sketch_jan27e\sketch_jan27e.ino:47:56: note: candidates are: | |
In file included from C:\Users\Dkbay gaming\Documents\Arduino\sketch_jan27e\sketch_jan27e.ino:2:0: | |
C:\Users\Dkbay gaming\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:68:13: note: int HTTPClient::sendRequest(const char*, uint8_t*, size_t) | |
int sendRequest(const char * type, uint8_t * payload = NULL, size_t size = 0); | |
^ | |
C:\Users\Dkbay gaming\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:68:13: note: no known conversion for argument 2 from 'String' to 'uint8_t* {aka unsigned char*}' | |
C:\Users\Dkbay gaming\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:69:13: note: int HTTPClient::sendRequest(const char*, Stream*, size_t) | |
int sendRequest(const char * type, Stream * stream, size_t size = 0); | |
^ | |
C:\Users\Dkbay gaming\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:69:13: note: no known conversion for argument 2 from 'String' to 'Stream*' | |
exit status 1 | |
no matching function for call to 'HTTPClient::sendRequest(const char [4], String)' | |
This report would have more information with | |
"Show verbose output during compilation" | |
option enabled in File -> Preferences. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment