Skip to content

How to change the default temperature?

Simon Weber edited this page Sep 26, 2015 · 3 revisions

ultrasonic.getDistanceInCM(40) // Change Temperature to 40°C

ultrasonic.getDistanceInInch(40) // Change Temperature to 40°C

The default temperature is 22 °C, to change it, you must give over the temperate as a parameter. The speed of the ultrasonic ist dependent form the temperature.

Clone this wiki locally