API changes
Rename package name and MLink class
py_mlink
package change tomicrodaq
MLink
class name change toDevice
New
import microdaq
mdaq = microdaq.Device(ip='10.10.1.1')
Old
from py_mlink import PyMLink
mdaq = PyMLink.MLink('10.10.1.1')
Exceptions
The MLinkError
exception is throw only as a result of the MLink library call.
The ValueError
exception is throw as a result of parameter pre-check before calling MLink library.
Rename parameters
pwm_module
->module
in pwm_init, pwm_write methodsencoder
->module
in enc_init, enc_read methodsled_id
->led
in led_write method
Fixes
- Fix missing parameter in
ao_scan_trigger_encoder
Other
- Prepare installation script and package structure to be distributed over
pip
manager - Add more examples
- Add tests for API integration (for contributors) - introduction of pytest
- Update README to me more friendly for new users