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 config to : Config Canmob = 2 , Bitlen = 11 , Idtag = &H0121 , Msgobject = Disabled , Msglen = 2 ' this mob is used for sending data --- MSGLEN = 2 no change - only firs 2 are sent as 2 byte msg and then rest as single byte . If that worked - it would limit the user to send a fixed nr of bytes instead of letting the compiler send the nr of bytes depending on the var dim type . ( byte - word ... etc ) Did you change your sample code to a word or long for CAN tx and run in hardware and see what happens on your side ? Just display the MSB of a word on the rx pcb on the leds . 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>