Main Content

CAN Interface

Read and write CAN messages to CAN shields on Raspberry Pi® hardware

Write and read CAN messages via the CAN channel. Create a raspi object before you use CAN shield functions.

Objects

canChannelConnection to CAN channel connected to a specified device

Functions

readRead messages from CAN channel
writeWrite messages to CAN channel
enableCANEnable CAN interface
disableCANDisable CAN interface