little bit revisi
This commit is contained in:
parent
93d19d9810
commit
b760962101
|
|
@ -165,9 +165,9 @@ void loop(){
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
digitalWrite(BUZZERPIN, HIGH);
|
digitalWrite(BUZZERPIN, HIGH);
|
||||||
insertKondisiTapai();
|
|
||||||
cekKematangan();
|
cekKematangan();
|
||||||
cekKegagalan();
|
cekKegagalan();
|
||||||
|
insertKondisiTapai();
|
||||||
}
|
}
|
||||||
|
|
||||||
delay(2000);
|
delay(2000);
|
||||||
|
|
@ -261,6 +261,8 @@ void cekKematangan() {
|
||||||
|
|
||||||
callUser(true);
|
callUser(true);
|
||||||
db.insert("histori_fermentasi", json, false);
|
db.insert("histori_fermentasi", json, false);
|
||||||
|
|
||||||
|
pengujian = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -299,6 +301,8 @@ void cekKegagalan() {
|
||||||
|
|
||||||
callUser(false);
|
callUser(false);
|
||||||
db.insert("histori_fermentasi", json, false);
|
db.insert("histori_fermentasi", json, false);
|
||||||
|
|
||||||
|
pengujian = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue