首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Python > Python onewire(1-Wire)绑定

Python onewire(1-Wire)绑定

  • 资源大小:19.96 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: 绑定

资 源 简 介

# What is it? # Pure Python library for accessing Dallas/Maxim OneWire (1-Wire) devices. Pyonewire supports the DS2490 USB 1-Wire bus master, via the libusb Python wrappers. Thanks to Python and libusb, pyonewire can run on many platforms, and has been tested on Mac OS X and Linux. # Requirements # Pyonewire works on any system that supports: * [Python](http://www.python.org) * [libusb](http://libusb.wiki.sourceforge.net/) * [pyusb](http://pyusb.berlios.de/) If you have these packages, then you do not need additional drivers to use pyonewire. # Example #$ python >>> from pyonewire.master import ds2490 >>> master = ds2490.DS2490Master() >>> for ib in master.Search(master.SEARCH_NORMAL): ... print hex(ib) ... 0xbe00000024d5ea81L 0xfeedface00000001L >>> ```

文 件 列 表

pyonewire
src
core
Makefile
CONTRIBUTORS
README
master
setup.py
__init__.py
COPYING
VIP VIP
  • 大智若愚 1小时前 成为了本站会员

  • Mason 3小时前 成为了本站会员

  • 4小时前 成为了本站会员

  • Half_Punch 1天前 成为了本站会员

  • liqing71718 1天前 成为了本站会员

  • 伟国 1天前 成为了本站会员

  • songy 1天前 成为了本站会员

  • 纯色幽默 1天前 成为了本站会员

  • odd? 1天前 成为了本站会员

  • 52JOY... 1天前 成为了本站会员

0.172324s