FLOWCHART / CAN Bus / Help !!

Forum for problems or queries regarding Flowcode Comms Components. Eg LIN, I2C, SPI, RS232, CAN, IrDA etc

Moderators: Benj, Mods

Post Reply
romain_60000
Posts: 1
Joined: Fri Mar 14, 2008 9:57 am
Contact:

FLOWCHART / CAN Bus / Help !!

Post by romain_60000 »

Hello, i need help for CAN bus on flowcode V3.
Can you give me an basic example for receive a CAN message.
Thx.
sR.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: FLOWCHART / CAN Bus / Help !!

Post by Benj »

Hello

Here is a quick example that shows how to receive any message coming in from the CAN bus.

The program collects the ID_LO and the ID_HI bytes if there is a valid message.

You could then check if the ID is acceptable and then do some further processing etc.
Attachments
Basic_CAN_Rx.fcf
(6 KiB) Downloaded 468 times

Post Reply