Thermometer
Program for thermometer:
#include<LiquidCrystal.h>LiquidCrystal lcd(2,3,4,5,6,7);
#define analog_pins A0;
void setup()
{
lcd.begin(16,2);
lcd.print("");
}
void loop()
{
lcd.clear();
float temp=analogRead(A0);
lcd.print(temp*0.488);
lcd.print("degree celsius");
delay(100);
}
0 comments:
Post a Comment
if you have any doubt please let me know