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?
Jeg skal bruge den indbyggede 24bit A/D konverter som er i ADuC845. Efter hvad jeg ved er der er endnu ikke kommet nogen ARM processor med indbygget 24 bit A/D konverter.
Men ellers tak for dit reply.
MVH
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