"0x" implies that the characters that follow are byte data in hex notation. The "0x" is not part of the data. But if you don't know that, you're frankly on the wrong list. You need to learn basic programming before you ask any further questions. On Mar 6, 2012 5:16 AM, "mark2011" <[email protected]> wrote:
> Dear Todd : > > Thanks for your kindly hint. Could you give me a more detail? > Thanks. > > BR, > Mark > > On 3月6日, 下午6時57分, Todd Grigsby <[email protected]> wrote: > > Google "hex notation" and "hexadecimal". > > On Mar 6, 2012 12:34 AM, "mark2011" <[email protected]> wrote: > > > > > > > > > Dear All : > > > > > I want to send out the hex code like 0xfa through the serial port. > > > How do I send the 0x code in the program? > > > > > Thanks in advanced. > > > > > BR, > > > Mark > > > > > -- > > > You received this message because you are subscribed to the Google > > > Groups "Android Developers" group. > > > To post to this group, send email to > [email protected] > > > To unsubscribe from this group, send email to > > > [email protected] > > > For more options, visit this group at > > >http://groups.google.com/group/android-developers?hl=en- 隱藏被引用文字 - > > > > - 顯示被引用文字 - > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

