Serial.Read Char to Float


I am developing a simulator that receives some serial messages(char), and I need to convert them to float in order to display them in a UTFT.

The messages are all numbers.

Hope you can help me, I need a function as easier as posibble, because it must be replayed for other conversions.


Have a look at Serial input basics - updated

How do you have them stored? As cstrings?

float value = Serial.parseFloat();