We Recommend

Programming for the Newton: Using Macintosh Programming for the Newton: Using Macintosh
The included CD contains a demo of the Newton Toolkit (NTK) programming environment, but there is a newer version of this software on Apple's web site. Note that the demo version creates Newton packages which can't be redistributed, so you'll eventually need to purchase a full copy of NTK.


Ballyhoo


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.