/ Published in: NewtonScript
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.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
func(inUndocumentedRequestFrame) begin return floor(BatteryStatus(0).ambientTemp) && "°C"; end
URL: http://npds.free.fr/