Hello,
my program stuck at sprintf function .On UART screen it showing up to ADC3= ... then could not able to print pablisher value..
UART_UartPutString("ADC3=");
Adc_float=conversion*ADC_FACTOR;
sprintf( pablisher,"%.2f",Adc_float); //"%.4f"
UART_UartPutString(pablisher);
Best Regards
Deepak
No ADC readings in Conversion would be my guess. So Conversion =0 . Please post your complete code.
Check heap size (in System view), must be set to 0x0200 or printing floats goes el wracko.
Bob
Try these settings and this program.