This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Tiva C series, string to double

Hello all. I want to send data form PC to TM4C129 develop kot via UART. In CCS, I write this code:

#include<stdlib.h>
 void main (void)
 .........
 int32_t value1;
 value1 = ROM_UARTCharGetNonBlocking(UART0_BASE);
 char buf[] = value1;
 double value = atof(buf); // Wraning!

When I compiler, I have a waring. What I do wrong?