ggzucco/LM35
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
/* READ FIRST * * LM35 Library * * VERSION: 1.0.1 * * Author: Guilherme Gomes Zucco * * This library set the pin where is the lm35 sensor, * and converts the raw value to Celsius or Fahrenheit or Kelvin. * * Commands * * Set the pin with * LM35 name_of_variable(analog_pin); * exemple LM35 temp(A0); * * shows the temperature wirh: * name_of_variable.cel() - to show the temperature in celsius * name_of_variable.fah() - to show the temperature in fahrenheit * name_of_variable.kel() - to show the temperature in kelvin * * bellow has a example of code, enjoy; */