using temp probes for other code.
Posted: Tue May 29, 2012 8:49 pm
how do i use the reading of temp probe 2 in a "if" statement like:
if (tempprobe2 <= 760)
{
do something
}
and while im posting... will this work to have moonlights on from the end of standardlights until 3am? basically i want to have the moonlights go off at 3am.
if ( hour() >= 20 && hour () <= 3 )
{
ReefAngel.MoonLights(Port2); // Moonlights or Refugium
}
if (tempprobe2 <= 760)
{
do something
}
and while im posting... will this work to have moonlights on from the end of standardlights until 3am? basically i want to have the moonlights go off at 3am.
if ( hour() >= 20 && hour () <= 3 )
{
ReefAngel.MoonLights(Port2); // Moonlights or Refugium
}