sos!
unsigned short bytecodetoword(unsigned char bytes[]) {
unsigned short word;
unsigned char * buffer;
buffer =(unsigned short*)&word;//这啥子意思?
buffer[0]=bytes[1];
buffer[1]=bytes[0];
return (word);
搜索更多相关的解决方案:
sos
----------------解决方案--------------------------------------------------------