Other Parts Discussed in Thread: MSP430G2553
程序主要部分如下:
#include <stdio.h>
#include <msp430g2553.h>
float input_voltage = 0;
char str_show[10];
sprintf(str_show,"%-04.3f",input_voltage);
input_voltage的值是正确变动的
sprintf运行后对str_show的值不产生效果
是ccs中不支持sprintf么
