summaryrefslogtreecommitdiffstats
path: root/examples/Alert_Window_Mode
diff options
context:
space:
mode:
authormartinbra <martinbra@gmail.com>2020-07-30 05:21:11 +0200
committermartinbra <martinbra@gmail.com>2020-07-30 05:21:11 +0200
commit2e73f1aec042986fae435d68cacafcba8b8ec49f (patch)
treea90e5eff739ab474b9a8d4df71a28ac55352107d /examples/Alert_Window_Mode
parentAdding keywords.txt for the Arduino lazy sintax highlighting. (diff)
downloadADS1115_WE-2e73f1aec042986fae435d68cacafcba8b8ec49f.tar
ADS1115_WE-2e73f1aec042986fae435d68cacafcba8b8ec49f.tar.gz
ADS1115_WE-2e73f1aec042986fae435d68cacafcba8b8ec49f.tar.bz2
ADS1115_WE-2e73f1aec042986fae435d68cacafcba8b8ec49f.tar.lz
ADS1115_WE-2e73f1aec042986fae435d68cacafcba8b8ec49f.tar.xz
ADS1115_WE-2e73f1aec042986fae435d68cacafcba8b8ec49f.tar.zst
ADS1115_WE-2e73f1aec042986fae435d68cacafcba8b8ec49f.zip
Diffstat (limited to 'examples/Alert_Window_Mode')
-rw-r--r--examples/Alert_Window_Mode/Alert_Window_Mode.ino10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/Alert_Window_Mode/Alert_Window_Mode.ino b/examples/Alert_Window_Mode/Alert_Window_Mode.ino
index 3be5dec..a68b684 100644
--- a/examples/Alert_Window_Mode/Alert_Window_Mode.ino
+++ b/examples/Alert_Window_Mode/Alert_Window_Mode.ino
@@ -81,14 +81,14 @@ void setup() {
*/
//adc.setConvRate(ADS1115_8_SPS); //uncomment if you want to change the default
- /* Set continous or single shot mode:
+ /* Set continuous or single shot mode:
*
- * ADS1115_CONTINOUS -> continous mode
- * ADS1115_SINGLE -> single shot mode (default)
+ * ADS1115_CONTINUOUS -> continuous mode
+ * ADS1115_SINGLE -> single shot mode (default)
*/
- adc.setMeasureMode(ADS1115_CONTINOUS); //comment or change you want to change to single shot
+ adc.setMeasureMode(ADS1115_CONTINUOUS); //comment or change you want to change to single shot
- /* Choose maximum limit or maxium and minimum alert limit (window)in Volt - alert pin will
+ /* Choose maximum limit or maximum and minimum alert limit (window)in Volt - alert pin will
* be active when measured values are beyond the maximum limit or outside the window
* Upper limit first: setAlertLimit_V(MODE, maximum, minimum)
* In max limit mode the minimum value is the limit where the alert pin will be deactivated