9
17
276
中级会员
uint8_t num;
uint16_t temp_adc;
//已经确定采集到了正确的数据 sprintf(temp_str, "adc%d=%d", num, temp_adc);
PrintString2(temp_str);
使用道具 举报 送花
45
2194
7664
论坛元老
乘风*** 发表于 2025-8-29 09:41 参考这个帖子介绍: printf函数 的 格式参数; USB接口 使用 printf 打印数据
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|深圳国芯人工智能有限公司 ( 粤ICP备2022108929号-2 )
GMT+8, 2025-9-3 08:56 , Processed in 0.174821 second(s), 61 queries .
Powered by Discuz! X3.5
© 2001-2025 Discuz! Team.