ZI5 lib

Dependencies:   C12832

Dependents:   PURS_ZI_005

Revision:
0:af5927fceeb9
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/TempSenzor.h	Thu Jun 23 13:50:05 2016 +0000
@@ -0,0 +1,26 @@
+#ifndef TEMPSENZOR_H
+#define TEMPSENZOR_H
+
+#include "mbed.h"
+#include "C12832.h"
+class TempSenzor {
+    public:
+        TempSenzor (PinName prviPin, PinName drugiPin, PinName tipkaPin);
+    private:
+        AnalogIn senzor1;
+        AnalogIn senzor2;
+        InterruptIn tipka;
+        C12832 lcd;
+        Timer debounceTipka;
+        Ticker ispis;
+        bool odabraniC;
+        float prosjek1, prosjek2;
+        void ocitajVrijednost();
+        void ispisi();
+    
+    
+    };
+
+
+
+#endif
\ No newline at end of file