ZI5 lib

Dependencies:   C12832

Dependents:   PURS_ZI_005

Committer:
tbjazic
Date:
Thu Jun 23 13:50:05 2016 +0000
Revision:
0:af5927fceeb9
initial

Who changed what in which revision?

UserRevisionLine numberNew contents of line
tbjazic 0:af5927fceeb9 1 #ifndef TEMPSENZOR_H
tbjazic 0:af5927fceeb9 2 #define TEMPSENZOR_H
tbjazic 0:af5927fceeb9 3
tbjazic 0:af5927fceeb9 4 #include "mbed.h"
tbjazic 0:af5927fceeb9 5 #include "C12832.h"
tbjazic 0:af5927fceeb9 6 class TempSenzor {
tbjazic 0:af5927fceeb9 7 public:
tbjazic 0:af5927fceeb9 8 TempSenzor (PinName prviPin, PinName drugiPin, PinName tipkaPin);
tbjazic 0:af5927fceeb9 9 private:
tbjazic 0:af5927fceeb9 10 AnalogIn senzor1;
tbjazic 0:af5927fceeb9 11 AnalogIn senzor2;
tbjazic 0:af5927fceeb9 12 InterruptIn tipka;
tbjazic 0:af5927fceeb9 13 C12832 lcd;
tbjazic 0:af5927fceeb9 14 Timer debounceTipka;
tbjazic 0:af5927fceeb9 15 Ticker ispis;
tbjazic 0:af5927fceeb9 16 bool odabraniC;
tbjazic 0:af5927fceeb9 17 float prosjek1, prosjek2;
tbjazic 0:af5927fceeb9 18 void ocitajVrijednost();
tbjazic 0:af5927fceeb9 19 void ispisi();
tbjazic 0:af5927fceeb9 20
tbjazic 0:af5927fceeb9 21
tbjazic 0:af5927fceeb9 22 };
tbjazic 0:af5927fceeb9 23
tbjazic 0:af5927fceeb9 24
tbjazic 0:af5927fceeb9 25
tbjazic 0:af5927fceeb9 26 #endif