@blh64
does this get me some kind of noob award?
I really appreciate your help, even if it was an easy problem for you. this code wouldn't compile and I couldn't begin to tell you why.. apologies.
Can you explain what you mean? Currently the sensors are turning the LEDs on and off using pins 16, 18 & 17.