-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pump action is inverted #35
Comments
Hi |
On a second thought, this issue could also come up with the other defines such as TANK_FULL/TANK_EMPTY and INTERLOCK_OK/INTERLOCK_NOK, but it would not be super elegant to have them all as parameters in the class constructor, would it? Any suggestion for a better way to do this? |
How about adding only one of the constants (PUMP_ON, TANK_FULL,
INTERLOCK_OK) as parameters to the constructor since they are binary
constants. So then there are 3 additional parameters to the constructor.
Not super elegant either.
/Henrik
2023-07-04 22:40 skrev Loic74650:
On a second thought, this issue could also come up with the other defines such as TANK_FULL/TANK_EMPTY and INTERLOCK_OK/INTERLOCK_NOK, but it would not be super elegant to have them all as parameters in the class constructor, would it? Any suggestion for a better way to do this?
--
Reply to this email directly, view it on GitHub [1], or unsubscribe [2].
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Thanks for a great project.
I am trying to build a chlorine controller with a Controllino Maxi with the Poolmaster SW.
At start the ORP and chlorine pump relays are all turned on and I have tracked down the problem to the definition of PUMP_ON macro in Pump.h. It is defined as active low which seems to be opposite to the way my Controllino hardware works. If the relay action is hardware dependent maybe it is good to have it as a parameter to the Pump class.
The text was updated successfully, but these errors were encountered: