#i2c #linux #adc #aims #controlling #devices #qwiic

bin+lib qwiic-adc-rs

This library aims at controlling Qwiic Relays using I2C from Linux

2 releases

Uses old Rust 2015

0.1.11 Jun 25, 2022
0.1.0 Oct 13, 2021

#13 in #adc

MIT/Apache

12KB
241 lines

Qwiic ADS1015 I2C library for Rust (WIP)

Description

This library aims at controlling Qwiic ADC devices using I2C from Linux. Its primary target is ARM devices such as RaspberryPi or FriendlyARM's NanoPi Neo. It should nonetheless work on other Linux distributions with access to an I2C bus.

How to use library

Add the following line to your cargo.toml:

qwiic-adc-rs = "0.1.11"

Or for the most recent commit on the master branch use:

qwiic-adc-rs = { git = "https://github.com/PixelCoda/QwiicADC-Rust.git", version = "*" }
Most functions are not implemented yet. So no examples. This will change in the next few days.

In the meantime, checkout my other Qwiic-I2C crates:
https://crates.io/crates/qwiic-lcd-rs
https://crates.io/crates/qwiic-relay-rs

References

License

Released under Apache 2.0.

Support and follow my work by:

Buying my dope NTFs:

Checking out my Github:

Following my facebook page:

Subscribing to my Patreon:

Or donating crypto:

  • ADA: addr1qyp299a45tgvveh83tcxlf7ds3yaeh969yt3v882lvxfkkv4e0f46qvr4wzj8ty5c05jyffzq8a9pfwz9dl6m0raac7s4rac48
  • ALGO: VQ5EK4GA3IUTGSPNGV64UANBUVFAIVBXVL5UUCNZSDH544XIMF7BAHEDM4
  • ATOM: cosmos1wm7lummcealk0fxn3x9tm8hg7xsyuz06ul5fw9
  • BTC: bc1qh5p3rff4vxnv23vg0hw8pf3gmz3qgc029cekxz
  • ETH: 0x7A66beaebF7D0d17598d37525e63f524CfD23452
  • ERC20: 0x7A66beaebF7D0d17598d37525e63f524CfD23452
  • XLM: GCJAUMCO2L7PTYMXELQ6GHBTF25MCQKEBNSND2C4QMUPTSVCPEN3LCOG
  • XTZ: tz1SgJppPn56whprsDDGcqR4fxqCr2PXvg1R

Dependencies

~2MB
~41K SLoC