Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Web server
#2

The solution :
In NET.ino line ~361 changed the test conditions (same as in D_TFT.ino line~341)
line ~361

Code:
 Content += "<br><table cellpadding=\"10\"><tr><td width=\"290\" valign=top bgcolor=\"#DBB05B\">";
 Content += "<b>SOIL</b><br>";
 for (byte i=0; i<4; i++)
  {
    if ((SoilTemp_Source [i][0] != 9) || (SoilMoist_Source[i][0] != 9))
     {
        Content += "<br>";
        Content += SoilSensName[i];
        Content += " - Temp: ";    
        Content += Soil_Data[i][0] / 10.0;
        Content += "C | vmc: ";
        Content += Soil_Data[i][1];
     }
  }
 Content += "<br><br><b>LEAF</b><br>";
 for (byte i=0; i<4; i++)
  {
    if ((LeafTemp_Source [i][0] != 9) || (LeafWet_Source[i][0] != 9))
     {
        Content += "<br>";
        Content += LeafSensName[i];
        Content += " - Temp: ";    
        Content += Leaf_Data[i][0] / 10.0;
        Content += "C | Wetness: ";
        Content += Leaf_Data[i][1];
        Content += "%";        
     }    
  }
   

Perhaps there  some more code to add  to mask the unused values Rolleyes
Reply


Messages In This Thread
Web server - by laulau - 05-04-2017, 21:07
RE: Web server - by laulau - 05-04-2017, 21:59
RE: Web server - by werk_ag - 06-04-2017, 03:04
RE: Web server - by laulau - 06-04-2017, 05:32
RE: Web server - by werk_ag - 06-04-2017, 03:35
RE: Web server - by werk_ag - 06-04-2017, 05:55



Users browsing this thread: 1 Guest(s)