• 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 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...
  • float conversion
    i have been getting a strange problem with a particular math operation... i have two long variables.. long a = 31534; long b = 102004; float c; c = a / b; now i get the value of c as 0...
  • float conversion
    i have been getting a strange problem with a particular math operation... i have two long variables.. long a = 31534; long b = 102004; float c; c = a / b; now i get the value of c as 0...
  • rounding a float to an integer
    Hi all, I like to round a float to the nearest integer value and assign the value to an integer. How do I do that in C code? In know it is something with "round" but I can not find the proper syntacs...