> Quoting Steger Stefan Georg <0014stst@EDU.FH-KAERNTEN.AC.AT>: > > > Hi, > > > > can someone say me, if there exists a function for the PIC to convert an > > integer to a char? > > > > -- > > http://www.piclist.com hint: The list server can filter out subtopics > > (like ads or off topics) for you. See http://www.piclist.com/#topics > > > > -----Original Message----- From: Jai Dhar [SMTP:jdhar@ENGMAIL.UWATERLOO.CA] Sent: Monday, June 02, 2003 1:05 PM To: PICLIST@MITVMA.MIT.EDU Subject: Re: [PIC]: Integer to char There isn't one built in, you will have to write some sort of binary to BCD conversion. You can look on the piclist source archives, or ask me offlist and I will send you mine. Unless I have not understood the question correctly there is no need for binary/BCD conversion. MyChar = (unsigned char)(MyInt & 0xFF); Regards Mike ======================================================================= This e-mail is intended for the person it is addressed to only. The information contained in it may be confidential and/or protected by law. If you are not the intended recipient of this message, you must not make any use of this information, or copy or show it to any person. Please contact us immediately to tell us that you have received this e-mail, and return the original to us. Any use, forwarding, printing or copying of this message is strictly prohibited. No part of this message can be considered a request for goods or services. ======================================================================= Any questions about Bookham's E-Mail service should be directed to postmaster@bookham.com. -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics