CAN BUS Module

Coding and general discussion relating to the compiler

Moderators: David Barker, Jerry Messina

Post Reply
jaxart
Registered User
Registered User
Posts: 1
Joined: Wed Apr 14, 2010 2:34 pm

CAN BUS Module

Post by jaxart » Wed Apr 14, 2010 2:40 pm

Hello,

I am using the CAN BUS module located here

http://www.sfcompiler.co.uk/wiki/pmwiki ... ser.CanBus

and have a problem. I have everything working the way I like but when I send a message as a STD id , any ID that ends in the number 1 i.e.( F1, 01, 31 etc) the one gets converted to a 0 when it is sent to the canbus

If i use extended ID's the ID is converted properly

I think the problem is with the CANIDToRegs subroutine in the module. I looked at it but could not see where the problem may be.

Any help would be great

Thanks

Post Reply