#labrador #api-bindings #espotek

librador

Rusty bindings to librador, the EspoTek Labrador driver library

2 releases

0.1.1 Jan 27, 2022
0.1.0 Jan 27, 2022

#1563 in Hardware support

GPL-3.0 license

35KB
402 lines

librador-rs

This crate exposes a safe, Rusty API to the EspoTek Labrador electronics lab board.

API Support

  • Library initialization
  • USB initialization
  • Device firmware version
  • Mode configuration
  • Power supply
  • Digital output
  • Signal generator
  • Logic analyzer
  • Oscilloscope
  • Multimeter

More Information

Take a look at the documentation with cargo doc --open or by visiting the docs.rs page.

Refer to the librador project documentation for further details.

Contributing

All contributions are welcome, whether they're bug reports, feature requests, code changes, or well wishes. Thanks!

Note that many of the tests expect an actual Labrador board to be connected to your computer, and each of them needs exclusive access. Try running tests with cargo test -- --test-threads=1.

License Information

librador-rs is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

librador-rs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Please see the file LICENSE in the root of this project for a copy of the GNU General Public License, or see http://www.gnu.org/licenses/.

This project incorporates code from the Labrador project, which is also licensed under the GPL v3.

Dependencies

~2–3.5MB
~60K SLoC