"Error" displayed instead of "0"

Related to the development libraries, released by Curt Binder
Post Reply
serhiyi
Posts: 50
Joined: Thu Jul 21, 2011 8:59 pm

"Error" displayed instead of "0"

Post 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.
binder
Posts: 2871
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: "Error" displayed instead of "0"

Post 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
serhiyi
Posts: 50
Joined: Thu Jul 21, 2011 8:59 pm

Re: "Error" displayed instead of "0"

Post by serhiyi »

Glad I could help :)
Thanks for information.
Post Reply