Code for controlling a fishtank salinity control system.