21ic问答首页 - 用microchip studio 开发C21J18A,printf发不出%f数据,怎么解决?
用microchip studio 开发C21J18A,printf发不出%f数据,怎么解决?
jack452023-05-10
float test = 3.141592;
printf("ref = %d",test);
串口工具上发出的是:
[09:53:24.356]收←◆ref =
printf发不出%f数据,怎么解决?
printf("ref = %d",test);
串口工具上发出的是:
[09:53:24.356]收←◆ref =
printf发不出%f数据,怎么解决?
赞0
https://github.com/Microchip-MPLAB-Harmony/core_apps_sam_c20_c21/tree/master/apps/system/console_debug/sys_console_debug_uart_read_write
评论
2023-05-11
赞0
评论
2023-05-11
赞0
评论
2023-05-10
您需要登录后才可以回复 登录 | 注册