I have a piece of equipment that illuminates an LED when it is on, I want to use the LED being on as an input to the Arduino as its the only way I can pickup a signal from the equipment.
but I have a problem:
When the equipment is in normal operation the LED is illuminated constantly but if a fault develops the LED flashes on/off every 500mS.
I do not want the Arduino to do anything if the LED is flashing Only when the LED is on steadily should the Arduino run.
I am very new to coding so don't know where to start with this so any help very much appreciated