purs_semrinar

Committer:
feri
Date:
Mon Feb 06 16:21:31 2017 +0000
Revision:
0:69f069a4faef
Purs_seminar_Sskrnjug_Ivan Varjacic_Josip LuPINSKI

Who changed what in which revision?

UserRevisionLine numberNew contents of line
feri 0:69f069a4faef 1 #include "predupozorenje.h"
feri 0:69f069a4faef 2 #include "mbed.h"
feri 0:69f069a4faef 3
feri 0:69f069a4faef 4 predupozorenje::predupozorenje(int stat){
feri 0:69f069a4faef 5 stanje=stat;
feri 0:69f069a4faef 6 }
feri 0:69f069a4faef 7
feri 0:69f069a4faef 8 bool predupozorenje::zamjeni_motor(void){
feri 0:69f069a4faef 9 motor=true;
feri 0:69f069a4faef 10 // pc.printf("Preporučujemo vam da zamjenite motor");
feri 0:69f069a4faef 11 return motor;
feri 0:69f069a4faef 12 }
feri 0:69f069a4faef 13
feri 0:69f069a4faef 14 bool predupozorenje::zamjeni_hmost(void){
feri 0:69f069a4faef 15 hmost=true;
feri 0:69f069a4faef 16 return hmost;
feri 0:69f069a4faef 17 // pc.printf("Preporučujemo vam da zamjenite hmost");
feri 0:69f069a4faef 18 }
feri 0:69f069a4faef 19
feri 0:69f069a4faef 20 bool predupozorenje::zamjeni_wifi(void){
feri 0:69f069a4faef 21 wifi=true;
feri 0:69f069a4faef 22 return wifi;
feri 0:69f069a4faef 23 // pc.printf("Preporučujemo vam da zamjenite esp8266");
feri 0:69f069a4faef 24 }