hi everyone I'm looking for a good alogrithm to send a float variable to a PC by the serial port. First I have to separate the float variable in bytes to be read to send by the serial port. do i have to send the variables in binary or ascii?? what do you recommend me?? Another problem is in the pc.. if I want to use visual basic to print the value how can I join the bytes to have the real float variable?? thanks
"This might also be the easiest to get back to a floating-point number at the VB end?" No doubt, due to the the byte sex differences on the VB and C51 ends, not to mention that (to my knowledge) 32-bit floats are not well-supported in VB.