summaryrefslogtreecommitdiffstats
path: root/src/devices/construction
diff options
context:
space:
mode:
authorDiego Barrios Romero <eldruin@gmail.com>2018-11-11 06:13:27 +0100
committerDiego Barrios Romero <eldruin@gmail.com>2018-11-11 06:13:27 +0100
commit7864c3d33ec00fe43ed0ed99bb6aea4d688b3e42 (patch)
tree2f259d8d59fe489043a6440b50854c743bf1bc31 /src/devices/construction
parente8a9f188fab6e4c4a4742718ae5032ab7717a747 (diff)
downloadads1x1x-async-7864c3d33ec00fe43ed0ed99bb6aea4d688b3e42.tar.gz
ads1x1x-async-7864c3d33ec00fe43ed0ed99bb6aea4d688b3e42.tar.xz
ads1x1x-async-7864c3d33ec00fe43ed0ed99bb6aea4d688b3e42.zip
Add support for ADS1015 and ADS1115 devices
Diffstat (limited to 'src/devices/construction')
-rw-r--r--src/devices/construction/i2c.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/devices/construction/i2c.rs b/src/devices/construction/i2c.rs
index d4b1a47..9ef18eb 100644
--- a/src/devices/construction/i2c.rs
+++ b/src/devices/construction/i2c.rs
@@ -41,3 +41,5 @@ impl_new_destroy!(Ads1013, new_ads1013, destroy_ads1013);
impl_new_destroy!(Ads1113, new_ads1113, destroy_ads1113);
impl_new_destroy!(Ads1014, new_ads1014, destroy_ads1014);
impl_new_destroy!(Ads1114, new_ads1114, destroy_ads1114);
+impl_new_destroy!(Ads1015, new_ads1015, destroy_ads1015);
+impl_new_destroy!(Ads1115, new_ads1115, destroy_ads1115);