Feeding mode and overheat timeout

Basic / Standard Reef Angel hardware
melovictor
Posts: 19
Joined: Tue Jan 21, 2014 3:56 am

Re: Feeding mode and overheat timeout

Post by melovictor »

Thanks Roberto!

I found an IsLeakDetected() function but it doesn't read from the LeakFlag status. But from what I could understand it already does the job. So I guess we probably don't need a wrapper for LeakFlag. Is that right?

As for the others isATOTimeOut(), isOverheat() and isBusLock() I'll declare and implement the functions and send for your appreciation ;-)

Regards,
Victor
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Feeding mode and overheat timeout

Post by rimai »

You will still need the isLeakFlag().
IsLeakDetected() is an instantaneous reading, so it only returns true as long as the module finds a leak.
The flag gets set and only clears with user intervention.
Roberto.
melovictor
Posts: 19
Joined: Tue Jan 21, 2014 3:56 am

Re: Feeding mode and overheat timeout

Post by melovictor »

I see... No problem I'll be adding it as well! Cheers, Victor
melovictor
Posts: 19
Joined: Tue Jan 21, 2014 3:56 am

Re: Feeding mode and overheat timeout

Post by melovictor »

Ok, I've added the proposed code changes in the issue comments. Regards, Victor.
Post Reply