Skip to content

microdaq 1.4.0v

Latest
Compare
Choose a tag to compare
@witczenko witczenko released this 01 Dec 23:19
· 4 commits to master since this release
b69252e

API changes

Rename package name and MLink class

  • py_mlink package change to microdaq
  • MLink class name change to Device

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 methods
  • encoder -> module in enc_init, enc_read methods
  • led_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

Related issues

Closes #4
Closes #8