首页 新闻 会员 周边
2
回答数

待解决问题 20 关于snprintf()函数问题

如果USART_RX_BUF[0]里的数据是0xf8, snprintf(temp, sizeof temp, "%X", USART_RX_BUF[0]); temp[0]的值为0x46; temp