Microcontroller › AVR › Temperature display on LCD › sorry mistake in first
March 22, 2011 at 12:52 pm
#5797
dagakshay
Participant
sorry mistake in first line
for(i=0;value_t>=10;i++)
{
ar=(value_t)%10;
(value_t)=(value_t)/10;
}
LCD_write(value_t);
for(int j=i; j>=0;j–)
{
LCD_write(ar[j]);
}
_delay_ms(100);
NOW try this out and let me know….