From 4ee18ba1f5d37b989a423413431b488f4755155b Mon Sep 17 00:00:00 2001 From: "Wolfgang (Wolle) Ewald" Date: Mon, 14 Jun 2021 16:47:51 +0200 Subject: Update ADS1115_WE.h --- src/ADS1115_WE.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/ADS1115_WE.h b/src/ADS1115_WE.h index 2a81342..9443bd8 100644 --- a/src/ADS1115_WE.h +++ b/src/ADS1115_WE.h @@ -234,8 +234,8 @@ public: /* Get the raw result from the conversion register: * The conversion register contains the conversion result of the amplified (!) * voltage. This means the value depends on the voltage as well as on the - * voltage range. E.g. if the voltage range is 6.144 mV (ADS1115_RANGE_6144), - * +32767 is 6.144 mV; if the range is 4.096 mV, +32767 is 4.096 mV, and so on. + * voltage range. E.g. if the voltage range is 6144 mV (ADS1115_RANGE_6144), + * +32767 is 6144 mV; if the range is 4096 mV, +32767 is 4096 mV, and so on. */ int16_t getRawResult(); @@ -243,7 +243,7 @@ public: * The results in the conversion register are in a range of -32767 to +32767 * You might want to receive the result in a different scale, e.g. -1023 to 1023. * For -1023 to 1023, and if you have chosen e.g. ADS1115_RANGE_4096, 0 Volt would - * give 0 as result and 4.096 mV would give 1023. -4.096 mV would give -1023. + * give 0 as result and 4096 mV would give 1023. -4096 mV would give -1023. */ int16_t getResultWithRange(int16_t min, int16_t max); -- cgit v1.2.3