We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi all , I would like to know the method of transmitting 16bit binary data (from 8255 port A & B) and floating point ouput result using serial comm(rs232) from 8051 to pc. i know we can use printf method. But if i want to use SBUF method, should i convert the binary data or the floating point calculated result using sprintf method and transmit the buf (from sprintf) to SBUF. your help is much appreciated. thanks
"Avoiding the conversion to ASCII will be faster and probably result in fewer bytes sent" However, not all serial links will pass data transparently: make sure that you disable software flow-control, and any special handling of CR, LF, FF, etc, etc,...