ZeroLab Bus API for Python
Project description
pyZlBus2
ZeroLab Bus API for Python
This package provides an API for interacting with ZeroLab Bus devices using Python.
Installation
pip install pyzlbus2
Usage
import pyZlBus2 as zl
# zl.test()
zl.bleDemo() # 蓝牙
# zl.serialDemo() # 串口
# zl.serialRfDemo() # 需要dongle支持
# Example usage
以下为示例代码,用于获取数据格式
两种写法功能相同,只是第二种写法更方便,因为pyZlBus2是对zlbusapi的封装,所以可以直接使用zlbusapi的函数。
import zlbusapi as zlapi
print(zlapi.ul_getDataFormat().hex(' ').upper())
# PyZlBus2 includes ZlBusApi module
import pyZlBus2 as zl
print(zl.api.ul_getDataFormat().hex(' ').upper())
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
pyzlbus2-0.1.13-py3-none-any.whl
(23.2 kB
view details)
File details
Details for the file pyzlbus2-0.1.13-py3-none-any.whl.
File metadata
- Download URL: pyzlbus2-0.1.13-py3-none-any.whl
- Upload date:
- Size: 23.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f24132ece73d847725a8039e1fa9c9183b1d62cfe200c2ac31f4c6ae708cfd2f
|
|
| MD5 |
1118eac27ebc41303e2d5d8aaa930c30
|
|
| BLAKE2b-256 |
7f1da7bdf691b4dfd09b3467512dffac029b5888ccc6cd9ff7174c94756880d5
|