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(-) 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