arduino_device-1.0.1
توضیحات
Interface to arduino devices with auto creation of class methods with arduino commands and auto discovery of available Arduinos in Linux, Windows, and Mac OS X
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | arduino_device-1.0.1 |
| نام | arduino_device |
| نسخه کتابخانه | 1.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Peter Polidoro |
| ایمیل نویسنده | polidorop@janelia.hhmi.org |
| آدرس صفحه اصلی | https://github.com/JaneliaSciComp/python_arduino_device |
| آدرس اینترنتی | https://pypi.org/project/arduino_device/ |
| مجوز | BSD |
python_arduino_device
=====================
This Python package creates a class named ArduinoDevice, which
contains an instance of serial_interface.SerialInterface and adds methods
to it, like auto discovery of available Arduinos in Linux, Windows,
and Mac OS X. This class automatically creates methods from available
functions reported by the Arduino when it is running the appropriate
firmware.
Authors::
Peter Polidoro <polidorop@janelia.hhmi.org>
License::
BSD
Example Usage::
from arduino_device import ArduinoDevice
dev = ArduinoDevice()
dev = ArduinoDevice() # Automatically finds device if one available
dev = ArduinoDevice('/dev/ttyACM0') # Linux
dev = ArduinoDevice('/dev/tty.usbmodem262471') # Mac OS X
dev = ArduinoDevice('COM3') # Windows
dev.get_commands()
devs = ArduinoDevices() # Automatically finds all available devices
devs.get_devices_info()
dev = devs[0]
نحوه نصب
نصب پکیج whl arduino_device-1.0.1:
pip install arduino_device-1.0.1.whl
نصب پکیج tar.gz arduino_device-1.0.1:
pip install arduino_device-1.0.1.tar.gz