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
from mcpcan import MCPcanBus
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
Built Distribution
Close
Hashes for python_can_mcpcan-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46d11e4e35d82c6702eafc5643dfdc17dd7d638494bad85dfa2b62581f097cf2 |
|
MD5 | a81c4f360205eb06df49d3e2e09017b5 |
|
BLAKE2b-256 | 148703b013468e85495b3f5deddf9ca8c83ad6d33f90d8ea85a5d1e20cdfafa5 |