Skip to content

Commit

Permalink
Add Windows python-can plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
jgressmann committed Feb 7, 2025
1 parent c91aa1f commit c6b4171
Show file tree
Hide file tree
Showing 3 changed files with 1,808 additions and 0 deletions.
27 changes: 27 additions & 0 deletions Windows/python/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# SuperCAN plugin for python-can

## Installation

Assuming you have Visual Studio (Build Tools) installed, navigate
to this directory and then run

```console
python -m pip install setuptools
```

```console
python -m pip install .
```

## Usage from Python

```python
import can

e = can.Bus(
channel=0, # channel index (0-based)
filters=None,
interface="supercan-exclusive", # exclusive access to the channel
serial="12345678", # device serial
bitrate=500000)
```
Loading

0 comments on commit c6b4171

Please sign in to comment.