Microcontroller › AVR › Temperature display on LCD › Thanks a lot buddy…bt when
March 21, 2011 at 4:57 pm
#5783
hardeep
Participant
Thanks a lot buddy…
bt when i use this
for(i=0;i<2;i++)
{
ar=(value_t)%10;
(value_t)=(value_t)/10;
}
LCD_write(0x30+ar[2]);
LCD_write(0x30+ar[1]);
LCD_write(‘.’);
LCD_write(0x30+ar[0]);
LCD_write(‘d’);
LCD_write(‘C’);
_delay_ms(100);
the first digit is not getting printed…plz help…!!!