Posted By

splorp on 09/09/07


Tagged

script temperature newton messagepad npds ssi


Versions (?)

Newton Battery Temperature


 / Published in: NewtonScript
 

URL: http://npds.free.fr/

This temperature measurement script is one that comes from the original NPDS package. As formatted, it is meant to be used as an NPDS SSI tag. It obtains the current battery temperature and returns it in degrees Celsius.

  1. func(inUndocumentedRequestFrame)
  2. begin
  3. return floor(BatteryStatus(0).ambientTemp) && "°C";
  4. end

Report this snippet  

You need to login to post a comment.