Hello
i am very new to arduino and frankly saying have forgot many things in c++ as i am not in touch since about 4 years
there is 3 variables say like example bellow
String sl_no="test_string";
int test_int1=0001;
float test_loat1="0.05";
i wanted to combine them in a string so that i can pass it as an argument in
ether.browseUrl of Ethercard Library
You can't store a string literal in a float variable.
IF you had:
char *sl_no="test_string";
int test_int1=0001;
float test_loat1=0.05;
you could use dtostrf() to convert the float to a string. Then, you could use sprintf() to convert the string, the int, and the string (from the float) to another string that you could pass to the method.
webClient.ino:160:21: error: initializer fails to determine size of '__c'
webClient.ino:160:21: error: array must be initialized with a brace-enclosed initializer