Page 1 of 1

Overheat temp set

Posted: Thu May 31, 2012 11:39 am
by Threedo
Is there simple code to put in the PDE file to set the overheat temp to shut off my lights? I believe i did this origionally with ragen memory setting but would like to change it.

Re: Overheat temp set

Posted: Thu May 31, 2012 12:55 pm
by rimai

Code: Select all

    ReefAngel.OverheatShutoffPorts = Port2Bit | Port3Bit | Port7Bit;
Change the port numbers according to your setup.

Re: Overheat temp set

Posted: Thu May 31, 2012 1:13 pm
by Threedo
yes but is there a place to set the shut off to say 81 degrees?

Re: Overheat temp set

Posted: Thu May 31, 2012 2:00 pm
by rimai
Yes, you can use this on your setup() section:

Code: Select all

    InternalMemory.OverheatTemp_write( 869 );
Or use any app that can change internal memory, such as Client, Java Status or smart phone apps.