Python-can MCPcan
Project description
python-can-mcpcan
This module is a plugin that lets you use [MCPcan adapters](available only from d10automation) with the MCPcan firmware in python-can.
Installation
Install using pip:
$ pip install python-can-mcpcan
Usage
Overall, using this plugin is quite similar to the main Python-CAN library, with the interface named mcpcan
. For most scenarios, incorporating a MCPcan interface is as easy as modifying Python-can examples with the lines provided below:
Create python-can bus with the mcpcan serial interface:
import can
bus = can.Bus(interface="mcpcan", channel="COM2", fd=True, bitrate=500000, data_bitrate=2000000)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file python_can_mcpcan-0.2.23.tar.gz
.
File metadata
- Download URL: python_can_mcpcan-0.2.23.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce8f159f99709a06274818dad9d218dce484a092352632e30ce5f43ee38ebb1e |
|
MD5 | 4b0a72823840b0a33238fdd8cc1d5f6e |
|
BLAKE2b-256 | 40e47b3ff7eb3e5927517d10e4a98bcb68ba3611dbc47c878fb01888938a7d99 |