Page 1 of 1

"Error" displayed instead of "0"

Posted: Wed Sep 07, 2011 7:14 pm
by serhiyi
I was trying to fix my issue with wify and updated libs to latest code.
It fixed wify, but now I see "Error" in stead of "0" on my display.

I can undersnat it for temp (I only have one probe now). But it also shows "Error" if PWM is down to 0.

Is it by design? What should I change to display 0?

I use this code now:
ReefAngel.LCD.DrawSingleMonitor(ReefAngel.PWM.GetDaylightValue(),DPColor, x, y, 1);

Thank you.

Re: "Error" displayed instead of "0"

Posted: Wed Sep 07, 2011 7:20 pm
by binder
you have discovered a "feature". Th displaying of Error was for the temp sensors to tell if they were unplugged. Pwm displaying uses the same code. I need to fix it on my end to handle it better and ensure it only displays error with the temp sensors.

curt

Re: "Error" displayed instead of "0"

Posted: Wed Sep 07, 2011 7:25 pm
by serhiyi
Glad I could help :)
Thanks for information.