Luc Le Blanc wrote:
...the processor temperature would be a good enough approximation to ambient
temperature.
What makes you say this? Ambient temperature is the temperature of the
air surrounding... well... something. Computer processors tend to run
quite hot (hence all those fancy heat sinks on processor chips) so they
behave like heater elements. The processor temp will go up/down
depending on how much it is running, and on its load when running.
If you think of your kitchen oven set to 350 degF, the ambient temp
inside the oven is 350, while the heater element, when running, glows
red hot (I dunno, perhaps 1000 degF?).
If it is really "ambient" temperature that you need to measure, then I
believe that referring to the processor temp (if it is even avaliable)
would not give you the info that you are looking for.
--
Bob
www.rmobile.ca
--------------
Mobile software for handheld computers and smartphones
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/