#include"I2C.h"
#include"ADC.h"
#include<string.h>
void setup()
{
   float temp;
  ADC_init();
  char str[20];
   I2C_LCD_START();                      // initialization of I2C with start condition
  I2C_LCD_SA_TRANSFER();                // slave address + write data transfered 
   LCD_init();                           //lCD initialization
  while(1){
  temp = convertToCelcius(AnalogRead());
  sprintf(str,"Temperature: %02d C",(uint16_t)temp);
   LCD_cmd(0x80);                       // init line 1 condition 
   LCD_string(str,20);          // string " Welcome To"
   I2C_LCD_STOP();
  }
}

void loop()
{
   Serial.println("V.....");
}