about send data by serial port

How can I send float number(such 3.14 or2.36..etc.) to serial port?

can I define variable as float and send
such as..


float dat
void main()
dat = 3.14;
SBUF =dat;
...


Parents Reply Children
No data
More questions in this forum