Newton Battery Temperature


/ Published in: NewtonScript
Save to your folder(s)

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.


Copy this code and paste it in your HTML
  1. func(inUndocumentedRequestFrame)
  2. begin
  3. return floor(BatteryStatus(0).ambientTemp) && "°C";
  4. end

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

Report this snippet


Comments


You need to login to view comments.