Hello, I cannot figure out how to set a dimming channel value based on what dcpump mode I have selected on the Uapp. So for example It would be something like this
If (DCPUMPMODE= reefcrest mode) ReefAngel.PWM.SetChannel(0,20)
So I have set the channel correctly, but I am now sure what I would need to put in front of that code. I have tried
if (ReefAngel.DCPumpMode_read(ReefCrestMode) == 1) ReefAngel.PWM.SetChannel(0,20);
but this compiles with an error. Hopefully, someone can understand what I am trying to do thank you!
Change PWM Channel based on DCPUMP mode
- brennyn21
- Posts: 143
- Joined: Mon Nov 23, 2020 5:40 pm
Change PWM Channel based on DCPUMP mode
Sincerely, Brennyn