2013-01-16 02:33 AM
2013-01-16 04:57 AM
USART_SendData(
) sends a single 8-bit character, doubles are 64-bit so would require 8 bytes to be sent for the binary representation. If you want ASCII representation you'd need to convert the double back to ASCII.2013-01-16 05:17 AM
Sounds like a homework question. If you have received a string including a valid representation of a number you can convert it to a ''double'' value using the atof() C library function.
Have a look at, for example.