I need some help with wavemaker code
I currently have:
Code: Select all
if (hour()>=8 && hour()<22){
ReefAngel.WavemakerRandom( Port6,0,60 );
ReefAngel.Wavemaker( Port5,120 );
}else{
ReefAngel.Relay.Off(Port5);
ReefAngel.Relay.Off(Port6);
}
Any ideas? I was thinking of using timers but failed to get the code to work.