Wednesday, March 7, 2012

Re: [android-developers] Re: Android how to send the hex code out?

"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" <androidmark2011@gmail.com> 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 <tgrigsby...@gmail.com> wrote:
> Google "hex notation" and "hexadecimal".
> On Mar 6, 2012 12:34 AM, "mark2011" <androidmark2...@gmail.com> 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 android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscribe@googlegroups.com
> > 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment