Page 1 of 1

How to activate buzzer when leak detector is active

Posted: Thu May 28, 2015 5:41 am
by lmolenmaker
Hi guys,

I received the rope leak detector and installed it. it is working perfectly except the internal audio is not working. It is not a big deal as I have the external buzzer connected to the actinic dimming channel.

Could somebody please let me know which line of code I need to make the external Buzzer go at 100% when the leak detector is activated?

Thanks in advance.

Leslie

Re: How to activate buzzer when leak detector is active

Posted: Thu May 28, 2015 10:59 am
by rimai
Try this:

Code: Select all

  if (ReefAngel.IsLeakDetected())
    ReefAngel.PWM.SetActinic(100);
  else
    ReefAngel.PWM.SetActinic(0);