Quantcast
Channel: MPLAB XC16
Viewing all articles
Browse latest Browse all 1508

XC16 : Convert Float To String (karan123)

$
0
0
Hello, I have strange issue with XC16 with below code.

float Test = 12345.6

unsigned char LCDBuffer;

sprintf(LCDBuffer,"%.2g ",Test) ;

LCDString((unsigned char * ) LCDBuffer);

I have got below Errors and Warnings.


Viewing all articles
Browse latest Browse all 1508

Trending Articles



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