Rename PWM Channels

Related to the Portal
Post Reply
jayclaire
Posts: 24
Joined: Tue Jan 29, 2013 11:15 am

Rename PWM Channels

Post by jayclaire »

Hi,

Is there a way to rename the PWM Channels - From Actinic/Daylight to something else? It will be easier to determine.

I'm currently using 1 of the channel to control my Tunze powerhead.

I will be using the other channel to control my Tunze Wavebox soon.

Thanks,
~JaY
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Rename PWM Channels

Post by lnevo »

They aren't really named.. Thats the name of the function..

You could write a wrapper function to call the real one..

void SetTunze1(int speed) {
SetDaylight(speed);
}
jayclaire
Posts: 24
Joined: Tue Jan 29, 2013 11:15 am

Re: Rename PWM Channels

Post by jayclaire »

I'm not sure what you mean - I'm new to this & not a programmer either.

If u don't mind, can u please explain?
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Rename PWM Channels

Post by lnevo »

What are you looking to rename? On the portal? Android app?

These can not be changed...on the other hand if you want to reference it in your code by a different function instead of SetDaylight or SetActinic then you can use the function I gave you and paste it at the end of your INO file. Then use SetTunze1 instead of SetDaylight...
jayclaire
Posts: 24
Joined: Tue Jan 29, 2013 11:15 am

Re: Rename PWM Channels

Post by jayclaire »

Portal -
PWM Channels
Actinic
45 %
Daylight
30 %
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Rename PWM Channels

Post by lnevo »

No way to change currently. :(
Post Reply