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
Project description
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]
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 Distribution
arduino_device-1.0.1.tar.gz
(8.1 kB
view details)
File details
Details for the file arduino_device-1.0.1.tar.gz
.
File metadata
- Download URL: arduino_device-1.0.1.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d262858c5b4c71c521457844d3d86aa35b8fb3fcbb6967b5502cf2f8cf77fb14 |
|
MD5 | afd30badc1c25bd09afff14a0ee98c43 |
|
BLAKE2b-256 | b25f33e15681fe7e351777ed75a0f19c581e07f8ce289071fa53b9266cbc23a2 |