Crates.io | zlgcan |
lib.rs | zlgcan |
version | 0.1.0-alpha5 |
source | src |
created_at | 2024-09-04 06:39:42.864988 |
updated_at | 2024-10-25 07:51:24.437867 |
description | A Cross-platform ZLGCAN driver. |
homepage | https://github.com/zhuyu4839/rust-can |
repository | https://github.com/zhuyu4839/rust-can |
max_upload_size | |
id | 1362900 |
size | 301,939 |
zlgcan is a cross-platform driver for ZLG(周立功) device. Including windows and linux.
It is a part of rust-can driver.
It also can use UDS-protocol directly.
Please refer to examples
for usage examples
To use zlgcan in your Rust project, add it as a dependency in your Cargo.toml
:
[dependencies]
zlgcan = { version="lastest-version" }
Create folder and ensure the file of folder like:
├── bitrate.cfg.yaml
├── linux
│ └── x86_64
└── windows
├── x86
└── x86_64
and copy all files into correct directory.
The basic library. The bitrate.cfg.yaml
Create zcan.env
at your project path for special ZCAN_LIBRARY
path, For example:
ZCAN_LIBRARY=/path/to/your/created
We're always looking for users who have thoughts on how to make zlgcan
better, or users with
interesting use cases.
Of course, we're also happy to accept code contributions for outstanding feature requests!