# CAN-demo-python **Repository Path**: eastmike/CAN-demo-python ## Basic Information - **Project Name**: CAN-demo-python - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-12-18 - **Last Updated**: 2024-12-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Python3 demo code to receive and send CAN signals. ```bash # Install and configure # Log into CAN board and run below command sudo pip3 install cantools # configure can0 interface sudo ip link set can0 type can bitrate 500000 sudo ifconfig can0 up ``` ```bash # Usage # Receive from CAN bus and decode ./receive.py --bus can0 --dbc ./Model3CAN.dbc # Send CAN signals to CAN bus ./send.py --bus can0 --dbc ./Model3CAN.dbc --signal VCFRONT_turnSignalLeftStatus --value 1 ```