Skip to main content

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)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python_can_mcpcan-0.2.23.tar.gz (7.0 kB view details)

Uploaded Source

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

Hashes for python_can_mcpcan-0.2.23.tar.gz
Algorithm Hash digest
SHA256 ce8f159f99709a06274818dad9d218dce484a092352632e30ce5f43ee38ebb1e
MD5 4b0a72823840b0a33238fdd8cc1d5f6e
BLAKE2b-256 40e47b3ff7eb3e5927517d10e4a98bcb68ba3611dbc47c878fb01888938a7d99

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.23 This release

1 file

0.2.21

1 file

0.2.2

1 file

0.2.1

1 file

0.2.0

1 file

0.1.8

1 file

0.1.7

1 file

0.1.6

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page