This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Regarding usage of printf for serial communication

I am writing some serial data transfer apllication, i was seeing some examples given by keil. in that hello world example i have seen. i that they have used printf function which will print in serial window.... there if i am using printf("%x",variable say 'a');there it is appeding a zero at the end of variable. please clarify y it is happening so?

Parents
  • nope, because of unwillingness ... naah being to lazy to answer questions, probably not having any self written code.

    NOBODY, willing to do some work thenseleves get 'abused'. Those that that post "shut up and give me the code' deserve to be told that there is a difference between 'programming' and 'copying' and if that is 'abuse', so be it.

    Erik

Reply
  • nope, because of unwillingness ... naah being to lazy to answer questions, probably not having any self written code.

    NOBODY, willing to do some work thenseleves get 'abused'. Those that that post "shut up and give me the code' deserve to be told that there is a difference between 'programming' and 'copying' and if that is 'abuse', so be it.

    Erik

Children