2840| 10
|
CAN如何发送16位的数据,请各位大佬指导一下 |
1金钱
最佳答案你传感器采集的数据是16位的,那就是2byte,Can_Send_Msg(canbuf,8)一次发送8byte,你只需要把canbuf的前两个字节写入你采集到的数据,剩下的6byte直接填充0或者0xff,这样子发送有啥疑惑?
| ||
| ||
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.
过于执着就会陷入其中,迷失自己,困住自己。 |
||
| ||
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, 2025-5-23 02:32
Powered by OpenEdv-开源电子网
© 2001-2030 OpenEdv-开源电子网