example code using statis library for temperature measurement with LM35 and LM335

Dependencies:   mbed statis

Revision:
5:0b3569945178
Parent:
3:0e06300940cd
--- a/include/tickerEvent.h	Thu Nov 22 15:57:35 2012 +0000
+++ b/include/tickerEvent.h	Sat Nov 24 13:36:58 2012 +0000
@@ -11,30 +11,31 @@
 
 #include "mbed.h"
 
-class tickerEvent {
-  private:
-    Ticker     _ticker;    
+class tickerEvent
+{
+private:
+    Ticker     _ticker;
     DigitalOut _pin;
 
-  public:
-     // Constructor
+public:
+    // Constructor
     tickerEvent(PinName pin, float delay);
-    
+
     // Destructor
     ~tickerEvent(void);
-     
-    // return pin status 
+
+    // return pin status
     int read(void);
-         
-     // A shorthand for read()
+
+    // A shorthand for read()
     operator int() {
         return read();
     }
-    
-private: 
-   // method that change pin status
-   void toDo(void);
-        
+
+private:
+    // method that change pin status
+    void toDo(void);
+
 };
 
 #endif // tickerEvent_H
\ No newline at end of file