From 3b8dcf32a8ed30f9e2cd305d2fd8b1e53e0150a4 Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Thu, 8 Nov 2018 19:06:04 +0100 Subject: Add support for ADS1014 --- src/devices/construction/i2c.rs | 3 ++- src/devices/ic.rs | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src/devices') diff --git a/src/devices/construction/i2c.rs b/src/devices/construction/i2c.rs index 900a5fe..7e3d1f9 100644 --- a/src/devices/construction/i2c.rs +++ b/src/devices/construction/i2c.rs @@ -38,4 +38,5 @@ macro_rules! impl_new_destroy { } impl_new_destroy!(Ads1013, new_ads1013, destroy_ads1013); -impl_new_destroy!(Ads1113, new_ads1113, destroy_ads1113); \ No newline at end of file +impl_new_destroy!(Ads1113, new_ads1113, destroy_ads1113); +impl_new_destroy!(Ads1014, new_ads1014, destroy_ads1014); diff --git a/src/devices/ic.rs b/src/devices/ic.rs index 81c8e44..95eb8bd 100644 --- a/src/devices/ic.rs +++ b/src/devices/ic.rs @@ -21,3 +21,4 @@ macro_rules! ic_marker { ic_marker!(Ads1013, _12); ic_marker!(Ads1113, _16); +ic_marker!(Ads1014, _12); -- cgit v1.2.3-54-g00ecf