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.

unsigned char数据类型

用CAN传输float类型的数据,由于一次只能传输1个字节,需要将float转化为4个unsigned char类型的数据打包发送

观察发送数据的值,unsigned char显示为16位

unsigned char不应该是8位吗,为什么能存放2个字节的数据?