I AM DOING A TEMPERATURE INDICATOR CIRCUIT USING PRORCESOR AND LM35; HOW CAN I CONVERT 10 BIT DATA (AFTER CONVERSION ) TO DECIMEL FOR DISPLAYING SAME ON LCD CRYSTEL DISPLAY .
PLZ GIVE THE CODE ALSO(IN MICROPROCESOR C OR ASSEMBLY)...
Writing in ALL CAPITALS is often considered to be SHOUTING and, therefore, rude.
It also makes your text harder to read.
Whatever made you think it would be a good idea to use ALL CAPITALS?
Anyy; use sprintf(..) function
void main() { init_temp(); lcd_init(); delay_ms(6); reset_temp(); while(TRUE) { current_temp = read_temp(); if(input(RESET_BUTTON)==0) reset_temp(); else if(current_temp>max_temp) max_temp=current_temp; else if(current_temp<min_temp) min_temp=current_temp; printf(lcd_putc,"\fCurrent Temp: %U F\nMin: %U Max: %U",current_temp,min_temp,max_temp); delay_ms(500); } } <endpre>
THX 4 YR QK ANS
I GV A XC ;)
or whatever the garbage above is. And, still SHOUTING it.
Erik
THX 4 YR QK ANS = Thanks for you quick answer
I GV A XC ;) = I give a XC
WTF is an XC?
WTF is an XC? foul language is foul language, whatever it is supposed to mean.
"Mr Language" wrong monniker, what you 'translate' is not 'language': I am really not interested in 'translations' if somebody can not write an understandable post who cares what it is they can not find the time to express properly. In the above I do NOT refer to non-english speakers who try to express themselves with complete words.
Nonwithstanding, the imbecile SHOUTs again after two posts asking him not to do so.