Lickport array interface.
Project description
This Python package creates a class named LickportArrayInterface.
Authors:
Peter Polidoro <peter@polidoro.io>
License:
BSD
Example Usage:
from lickport_array_interface import LickportArrayInterface dev = LickportArrayInterface() # Try to automatically detect port dev = LickportArrayInterface(port='/dev/ttyACM0') # Linux specific port dev = LickportArrayInterface(port='/dev/tty.usbmodem262471') # Mac OS X specific port dev = LickportArrayInterface(port='COM3') # Windows specific port dev.start_acquiring_data() dev.start_saving_data() dev.stop_saving_data() dev.stop_acquiring_data() dev.controller.dispense_lickport_for_duration(0,200) dev.controller.dispense_lickports_for_duration([0,1],200) dev.controller.dispense_all_lickports_for_duration(200) dev.controller.get_activated_lickports() dev.controller.activate_only_lickport(0) dev.controller.activate_only_lickports([0,1]) dev.controller.activate_lickport(0) dev.controller.activate_lickports([0,1]) dev.controller.deactivate_lickport(0) dev.controller.deactivate_lickports([0,1]) dev.controller.activate_all_lickports() dev.controller.deactivate_all_lickports()
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
Built Distribution
Close
Hashes for lickport_array_interface-0.7.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9a0d85250454d19618386968fb8896c2092eab1b17424d64f977c92afb717cb |
|
MD5 | 9516d792333c96bb6d52c0c5b095c9f7 |
|
BLAKE2b-256 | 480833261a91dffae3b14c83087c8c2767c130c1e2905e9b1a8462496812a340 |
Close
Hashes for lickport_array_interface-0.7.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45ef70aa17ac3c05698f3b49114d40a9505cbc4de1a70e092f6b0c4bdd8921c8 |
|
MD5 | 3a1dd68a7677b3a1ae54f42ef04fb051 |
|
BLAKE2b-256 | 52bcc734613b97dd3bc1cba259aca7c2f347279ab5b23f67eecfe7084cdf4b22 |