Salinity temp compensation?

Expansion modules and attachments
User avatar
Posts: 2849
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
PostPosted: Thu Aug 15, 2013 9:50 am
rimai wrote:Yes, needs to be calibrated at 35ppt and you can't change it :(
If you want to create a FlexibleSalinityCalibration() function ;), maybe others could benefit from it too :)

Maybe. I will see. :)
It seems like I don't even have enough time to get stuff done that I "need" to get done.

Posts: 154
Joined: Sat Aug 04, 2012 4:22 am
PostPosted: Mon Aug 26, 2013 2:41 am
rimai wrote:When you enable the compensation, you should recalibrate.
It will store the temperature in which the calibration happened in the internal memory and use it as reference.
To enable compensation and use the default alpha value, use this:
Code: Select all
ReefAngel.Salinity.SetCompensation(0);


Quick question, where to I place this in my code - in the initialisation or loop? Sorry if a silly question!

Cheers..

Posts: 12758
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Mon Aug 26, 2013 8:11 am
setup()
Roberto.

Posts: 206
Joined: Tue Jan 28, 2014 11:10 am
Location: Northern VA
PostPosted: Fri Feb 12, 2021 3:07 pm
hi all,

bumping this thread.

can someone confirm that this code is all that's needed (other than recalibrate) to enable temp compensation for salinity?

Code: Select all
ReefAngel.Salinity.SetCompensation(0);


I'm trying to follow the initial developments in this thread but at the end it does look like the above is it?

Thanks!
Jack

Posts: 12758
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Fri Feb 12, 2021 3:11 pm
That is it.
Roberto.

Posts: 206
Joined: Tue Jan 28, 2014 11:10 am
Location: Northern VA
PostPosted: Fri Feb 12, 2021 3:22 pm
rimai wrote:That is it.

thanks!
Jack
Previous

Return to Addons

Who is online

Users browsing this forum: No registered users and 3 guests