Library to interface the SCP1000 temperature and pressure sensor.

Dependents:   SCP1000_Example ku-make_sensor ku-make_sensor201302 SCP1000_Example ... more

Files at this revision

API Documentation at this revision

Comitter:
kadams6
Date:
Tue Oct 05 04:17:56 2010 +0000
Parent:
1:5fcf1fe4a161
Child:
3:4d8b8ca54451
Commit message:

Changed in this revision

SCP1000.h Show annotated file Show diff for this revision Revisions of this file
--- a/SCP1000.h	Tue Oct 05 04:10:55 2010 +0000
+++ b/SCP1000.h	Tue Oct 05 04:17:56 2010 +0000
@@ -24,11 +24,11 @@
         
         ~SCP1000() { /* empty */ };
         
+        ///Reads the pressure
         /**
-         * Read the pressure in pascals.
-         *
-         * @return The pressure in pascals.
-         */
+            Reads the pressure from the sensor
+            @return Pressure in pascals.
+        */
         unsigned long readPressure() {
             unsigned long pressure_msb = read_register(PRESSURE);
             pressure_msb &= 0x07;