High resolution barometer and altimeter using i2c mode

Dependents:   Q2_Stabi

Fork of ms5611 by Kevin Braun

Revision:
2:05804ed70748
Parent:
1:94a46b4fed9d
Child:
3:c2d1b0d432ad
--- a/ms5611.h	Tue May 07 18:55:31 2013 +0000
+++ b/ms5611.h	Thu May 09 16:34:52 2013 +0000
@@ -73,8 +73,11 @@
 #define MS5611_CMD_ADC_4096 0x08 // ADC OSR=4096
 #define MS5611_CMD_PROM_RD 0xA0 // Prom read command
 
-/* MS5611 controller class
- */
+    /** Create ms5611 controller class
+     *
+     * @param ms5611 class
+     *
+     */
 class ms5611 {
 
 public:
@@ -115,7 +118,7 @@
     void loadCoefs();
     unsigned long cmd_adc(char cmd);
     unsigned int cmd_prom(char coef_num);
-    unsigned char crc4(unsigned int n_prom[]);
+    unsigned char crc4(unsigned  n_prom[]);
     void calcPT();
     unsigned int PTbuffer[8];       // calibration coefficients