2840| 8
|
有没有大神知道怎样让TFTLCD显示屏显示16进制数 |
1金钱
最佳答案带0x前缀:sprintf(s,"0x%04X",i);
不带前缀:
sprintf(s,"%04X",i);
这个研究下sprintf函数的格式控制
| ||
发表于 2023-8-11 10:53:08
|
显示全部楼层
| ||
He who fights with monsters should look to it that he himself does not become a monster, when you gaze long into the abyss, the abyss also gazes into you.
过于执着就会陷入其中,迷失自己,困住自己。 |
||
发表于 2023-8-11 11:05:45
|
显示全部楼层
| ||
我的开源链接 https://github.com/ShuifaHe/STM32.git 请关注,点赞支持哦。
|
||
发表于 2023-8-11 11:35:49
|
显示全部楼层
| ||
专治疑难杂症
|
||
发表于 2023-8-11 12:58:17
|
显示全部楼层
| ||
| ||
发表于 2023-8-11 18:25:08
|
显示全部楼层
| ||
发表于 2023-8-13 08:11:46
|
显示全部楼层
| ||
He who fights with monsters should look to it that he himself does not become a monster, when you gaze long into the abyss, the abyss also gazes into you.
过于执着就会陷入其中,迷失自己,困住自己。 |
||
| ||
|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )
GMT+8, 2024-11-24 02:17
Powered by OpenEdv-开源电子网
© 2001-2030 OpenEdv-开源电子网