From ccc68c5d2572fb6e7ded3f6284f1ecb93157e12f Mon Sep 17 00:00:00 2001 From: Thijs Triemstra Date: Mon, 10 Aug 2020 00:12:06 +0200 Subject: fix typos --- examples/Result_Format_Options/Result_Format_Options.ino | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'examples/Result_Format_Options') diff --git a/examples/Result_Format_Options/Result_Format_Options.ino b/examples/Result_Format_Options/Result_Format_Options.ino index 2044f2e..ff12a3b 100644 --- a/examples/Result_Format_Options/Result_Format_Options.ino +++ b/examples/Result_Format_Options/Result_Format_Options.ino @@ -1,16 +1,15 @@ /*************************************************************************** * Example sketch for the ADS1115_WE library * -* This sketch shall show the different options to obtain results in different -* skales / formats. +* This sketch shows how to obtain results in different scales / formats. * * Further information can be found on: * https://wolles-elektronikkiste.de/ads1115 * ***************************************************************************/ -#include -#include +#include +#include #define I2C_ADDRESS 0x48 ADS1115_WE adc(I2C_ADDRESS); @@ -33,7 +32,7 @@ void setup() { void loop() { - /* Output in Volt or in Millivolt is self-explaining */ + /* Output in Volt or in Millivolt */ float voltageInMillivolt = adc.getResult_mV(); Serial.print("Result in Millivolt [mV]: "); @@ -53,7 +52,7 @@ void loop() { Serial.print("Raw Result : "); Serial.println(rawResult); - /* Skaling of the result to a different range: + /* Scaling of the result to a different range: * 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 -- cgit v1.2.3 From e066e78219b684f0f60cb65fc41037bbd7b5e94c Mon Sep 17 00:00:00 2001 From: Thijs Triemstra Date: Mon, 10 Aug 2020 00:12:50 +0200 Subject: rephrase --- examples/Result_Format_Options/Result_Format_Options.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/Result_Format_Options') diff --git a/examples/Result_Format_Options/Result_Format_Options.ino b/examples/Result_Format_Options/Result_Format_Options.ino index ff12a3b..fd66fdf 100644 --- a/examples/Result_Format_Options/Result_Format_Options.ino +++ b/examples/Result_Format_Options/Result_Format_Options.ino @@ -1,7 +1,7 @@ /*************************************************************************** * Example sketch for the ADS1115_WE library * -* This sketch shows how to obtain results in different scales / formats. +* This sketch shows how to obtain results using different scales / formats. * * Further information can be found on: * https://wolles-elektronikkiste.de/ads1115 -- cgit v1.2.3