Page 2 of 2

Re: Feeding mode and overheat timeout

Posted: Thu Jun 05, 2014 12:38 pm
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

Re: Feeding mode and overheat timeout

Posted: Thu Jun 05, 2014 1:27 pm
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.

Re: Feeding mode and overheat timeout

Posted: Thu Jun 05, 2014 10:24 pm
by melovictor
I see... No problem I'll be adding it as well! Cheers, Victor

Re: Feeding mode and overheat timeout

Posted: Fri Jun 06, 2014 12:45 am
by melovictor
Ok, I've added the proposed code changes in the issue comments. Regards, Victor.