Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

MSP430f5438a experimenter board LCD display - double value not ok, strings ok

$
0
0

Dear all, 

meanwhile I ran into another problem. In CCStudio, When I try to display a float variable on experimenter board, it always shows me a f. I am able to successfully display strings but not double values that are converted to strings. 

sprintf(lcdstring,"%lf",volt);
halLcdPrintLine(lcdstring,0,0);

volt is a variable that shows the voltage. say for ex: 1.23526 etc


can you guess where can the problem be? 
Thanks for the help in advance. 
Best regards, 
Vidya. 

Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>