In my project with Moacon, I need to send a value (say 12.345) from the PC to Moacon and store it in a variable (float or double).
There is no problem about the communication issues but the problem is I do not know how can I put the bytes together into a variable.
because I am sending the bytes to Moacon in order (first "1" and "2" and "3" and "4" and "5"). each bytes stores in an char type variable. But I need to collect them in a float variable to represent the coreect value. What is the way? I know this is a general C lesson but I would be appreciated if hyou can give me information.
