Page 1 of 1

Webwizard with "personalized" waterlevel.cpp

Posted: Tue Dec 03, 2019 1:36 pm
by libertyaquarium
Roberto


I use a "personalized" WaterLevel.cpp where I changed the programmable Gain (to 0x01 instead of 0x03) allowing me to use longer pipes.
Therefore, I cannot use webwizard.

Is there a way (any way) to use webwizard with an "inline" customized WaterLevel.cpp ? In other word.. inserting my customized Waterlevel.cpp code inside my ino file and using it's functions (with different names?) instead of the default one?

Best regards
Rafa

Re: Webwizard with "personalized" waterlevel.cpp

Posted: Wed Dec 04, 2019 11:51 pm
by rimai
I'll work on changing the libraries.

Re: Webwizard with "personalized" waterlevel.cpp

Posted: Thu Dec 05, 2019 11:08 am
by libertyaquarium
Really Really Really???? :D :D :D :D :D :D
Tks!!!!!!!!!!!!! I would love that!!!

Re: Webwizard with "personalized" waterlevel.cpp

Posted: Thu Dec 05, 2019 9:01 pm
by rimai
Try now.
Use:

Code: Select all

ReefAngel.WaterLevel.SetGain(1);

Re: Webwizard with "personalized" waterlevel.cpp

Posted: Fri Dec 06, 2019 5:47 am
by libertyaquarium
Tks Roberto...

I will try as soon as I get home!!!

Re: Webwizard with "personalized" waterlevel.cpp

Posted: Fri Dec 06, 2019 10:26 pm
by lnevo
Roberto, will that work on the cloud hub? If not could it be added there too. I think we can use the web wizard for that with the plugin? Not that I plan on updating the code much, but I'm sure this is something I'd forget at some point :)

Re: Webwizard with "personalized" waterlevel.cpp

Posted: Sat Dec 07, 2019 1:29 am
by rimai
The cloud hub doesn't use the libraries.