This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] TMS320F280025C:在 CCStudio 中使用 sprintf 的指南

Guru**** 2401455 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1175483/tms320f280025c-guide-to-using-sprintf-in-ccstudio

器件型号:TMS320F280025C

如果代码有问题,请告诉我,如果没有,我是否知道为什么控件不会转到 sprintf 下的代码

#include "stdio.h"

浮点 x=3.795;
volatile char dummy_data[100]="\r\nDummy Data Test String";

void main (void)

int j;

j=sprintf (dummy_data、"\r\n 引脚编号上的电压 2是%f"、x);