Microcontroller › AVR › Temperature display on LCD › for(i=0;value_t<=10;i++) {
March 22, 2011 at 8:31 am
#5785
dagakshay
Participant
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);
try this out and let me know the result….