hi
i receive my data from uart by this command :
HAL_UART_Receive(&huart1,data,10,1000) ;
my received characters are decimal numbers and i want to convert them to float and int then i send float or int as a character
for example my data is
data="32.54"
this data occupies 1 byte for each character so data occupies 5 bytes i want to convert it to float and then send float in my memory that requires less bytes than 5.
i receive my data from uart by this command :
HAL_UART_Receive(&huart1,data,10,1000) ;
my received characters are decimal numbers and i want to convert them to float and int then i send float or int as a character
for example my data is
data="32.54"
this data occupies 1 byte for each character so data occupies 5 bytes i want to convert it to float and then send float in my memory that requires less bytes than 5.