• ASCII to BCD conversion
    I am trying to use the following code to convert 2 digit ASCII numbers to BCD number, for setting RTC Clock DS1307. unsigned char ASCII_TO_BCD(unsigned char ascii_text[2]) { unsigned char bcd_value;...
  • Conversion of integer to ASCII for display
    I wish to display the contents of a variable, probably an unsigned integer, on an lcd display driven from the 8051. I have written software to accept an array of characters and write these, so the ideal...
  • conversion from long to ascii
    Hey Guys, i am storing a number as a long in memory and need to convert it to an ascii number ie 123456789 to "123456789" been trying with : sprintf(telno,"%u",123456789); but what gets stored...
  • ascii to float conversion
    dear friends i would like to know how can we convert the ascii values to decimal values to perform some calculations. my requirement is that i am receiving a six digit ascii data via com port of...
  • Float to ascii conversion 8052
    Hi I am looking for source for 8052. Float to ascii conversion float "lenght" is in the range -99999.999 to 99999.99 Thank you very much mbosko@ptt.yu