am stuck with something simple which is concating string not sure what am doing wrong , am getting exception (3 ) error due to it
3 LoadStoreErrorCause Processor internal physical address or data error during load or store
my code
String HOST = "useotools.com";
String API_URL = "/iot/api.php"; // API URL
uint16_t HTTPS_PORT = 4000; // HTTPS port
uint16_t HTTP_PORT = 4001; // HTTP port
void https_request_function(){
String HOST_URL = "http://"+String(HOST)+":"+String(HTTP_PORT)+String(API_URL)+"";
}
when first time https_request_function() is called then HOST_URL is displayed correctly and on 2nd time when this function is called by code it trigger exception(3) which is strange .