firmware wip - prepare to return raw aout value of soilmoisture and water level
This commit is contained in:
parent
01c410c31d
commit
71b846c5b0
1 changed files with 3 additions and 4 deletions
|
@ -32,7 +32,7 @@ unsigned int readI2CRegister16bit(int addr, int reg) {
|
|||
*
|
||||
*/
|
||||
|
||||
int getWaterlevel() {
|
||||
int getWaterlevel(bool returnRAW = false) {
|
||||
|
||||
/*
|
||||
* waterlevelRAW
|
||||
|
@ -107,11 +107,10 @@ float getTemperature(byte tempSensor) {
|
|||
}
|
||||
|
||||
float getHumidity() {
|
||||
float humidity = dht.readHumidity();
|
||||
return humidity;
|
||||
return dht.readHumidity();
|
||||
}
|
||||
|
||||
int getSoilmoisture(byte moistureSensor) {
|
||||
int getSoilmoisture(byte moistureSensor, bool returnRAW = false) {
|
||||
/*
|
||||
* moistureSensor
|
||||
* ==============
|
||||
|
|
Loading…
Reference in a new issue