完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
1.我设置了CAN1和CAN2之间进行通信,CAN1中接了收发器CAN_H和CAN_L,为什么用示波器测不出我所发送的数据呢? 以下是我按例子做的代码: #include "sys_common.h" #include "system.h" /* USER CODE BEGIN (1) */ #include "can.h" /* Include ESM header file - types, definitions and function declarations for system driver */ #include "esm.h" #define D_SIZE 9 uint8 tx_data[D_SIZE] = {'H','E','R','C','U','L','E','S',' |