Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20562

BASCOM-AVR : AVR CAN BUS : REPLY

$
0
0
Hi I changed the msglen in the int routine to 2 , and then it works - but now what if I need to send 4 bytes and then one byte and so on ? Elseif Canstmob.6 = 1 Then 'transmission ready Config Canmob = -1 , Bitlen = 11 , Msgobject = Disabled , Msglen = 2 , Clearmob = No ' reconfig with value -1 for the current MOB and do not set ID and MASK Must I then do this config msglen = xx , set to the nr of bytes to send , prior to sending any data on the CAN bus ? Cheers

Viewing all articles
Browse latest Browse all 20562

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>