#include"ADC.h"
#include"lcd.h"
#include<string.h>
void setup()
{
char str[16];
float temp;
LCD_init();
ADC_init();
while(1)
{
temp = convertToCelcius(AnalogRead());
sprintf(str,"Temp: %02d C",(uint16_t)temp);
LCD_cmd(0x80);
LCD_string(str,16);
}
}
void loop()
{
}