First working version of CDM7160 library

Files at this revision

API Documentation at this revision

Comitter:
MichalKozlowski
Date:
Mon May 04 11:33:36 2020 +0000
Parent:
1:4a0a9c03afba
Commit message:
Atmospheric pressure and altitude compensation switched to ON by default

Changed in this revision

CDM7160.h Show annotated file Show diff for this revision Revisions of this file
--- a/CDM7160.h	Fri Apr 17 10:47:43 2020 +0000
+++ b/CDM7160.h	Mon May 04 11:33:36 2020 +0000
@@ -213,7 +213,7 @@
      */
     int8_t initIntegrated(  uint16_t hpa = 1005, uint16_t height = 130, 
                             eControlMode mode = CONTIN, 
-                            eFunctionSetting atm_alt_correct= HPAE_OFF,
+                            eFunctionSetting atm_alt_correct= HPAE_ON,
                             eFunctionSetting pwm_conce = PWMR_LOW,
                             eFunctionSetting pwm_pin = PWME_OFF);