Function of mul(0.0977)

What is the function of the line:
mul(0.0977);
Kindly help.

‘mul(0.097)’ is used to multiply all the readings of the LM35 sensor by 0.097 to convert them into degree celsius scale(Instead of dividing by 10.24, here they are being multiplied by 0.097, which is basically the same thing).

3 Likes

It is used to multiply sensor value of LM 35 to obtain celsius value.

2 Likes

Thank you so much! It was of a lot of help.

Thank you so much! It was of a lot of help to me.

As in the course they said that divide the reading by 10.24 (reading/10.24)
instead of dividing just multiply it by 0.097 because 1/10.24 is 0.097.

1 Like