Hi,
Maybe it is dummy question, but I cannot find answer.
I have 2 relay box'es through relay hub, how can I change labels of my relay ports (main and second)?
Thanks in advance.
P.s. some relay code:
ReefAngel.Relay.On( Port8 );
ReefAngel.Relay.On( Box1_Port6 );
How to change port labels in controller
Re: How to change port labels in controller
Add something like this above setup()
Then you can call it NewaPumps instead of Port8.
Just keep in mind that it cannot have spaces.
Code: Select all
#define NewaPumps Port8
Just keep in mind that it cannot have spaces.
Code: Select all
ReefAngel.Relay.On( NewaPumps );
Roberto.
Re: How to change port labels in controller
Cool, big thanksrimai wrote:Add something like this above setup()Then you can call it NewaPumps instead of Port8.Code: Select all
#define NewaPumps Port8
Just keep in mind that it cannot have spaces.Code: Select all
ReefAngel.Relay.On( NewaPumps );
Re: How to change port labels in controller
And by the whay will it change labels on RA LCD screen?
Re: How to change port labels in controller
I've tried like it says with custom labels but it didn't work out, as I have relay expansion - Box1_port1 and etc. I don't know how to set labels there
Re: How to change port labels in controller
Try going through the array...
8 should be box1_port1
Sent from my SPH-L710 using Tapatalk
8 should be box1_port1
Sent from my SPH-L710 using Tapatalk
Roberto.
Re: How to change port labels in controller
Yes it worked, but noticed that 10 characters are the limit. Thats why it failed first time for merimai wrote:Try going through the array...
8 should be box1_port1
Sent from my SPH-L710 using Tapatalk