We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
For the printf command, the default format of the E argument is: « - »d.ddddE« - »dd
eg. 1.234E-05
In my case i dont need the leading zero in the exponent.
I want the output like this: 1.234E-5
Can i change the printf output with any argument? Do i have to make my own printf function? Or can i change the compilers printf command?
you need to read www.8052.com/faqs.phtml
since many of the bits from a 24 bit a/d are worthless you do not need floating point, you will not ever get more than 16 bits of precision whatever the resolution of your a/d is.
Erik
PS: a bit of Danish once a year is very nice, but, for the benefit of others, keep the important stuff in english
Ha' en rar dag