Hi. I Did and the result was kind of splitted.. showing wrong values...
I just wanted to convert a String Variable into a float (because my value have decimal.)
After convert into a float, I need to do(value = value * 1.
After that, I need to convert into a String again because I need to print it.
---- heres the code I am using:
SoftwareSerial mySerial(6, 7); // RX, TX
// Open serial communications and wait for port to open:
String info_from_gps ="2";
// I want to multiply the "100" value that comes as String by 1.8
// So I want to obtain 3.6 from this value
// I think I will have to convert this value to float because there will have decimals on result , right?
/// Well after that I need to print the result(3.6), so I think I will need to convert the result as string, right?
// Could you please give me an example about how to do this?
void loop() // run over and over
I need to convert the velocidade to a String variable
THank you so much