Test both sensors before assuming your code is the problem

Couldn't get the sensor to work, tried all kinds of tweaking. After a couple hours of testing, finally tried the other motion sensor and boom! Worked perfectly. Switching between both sensors, became very clear the problem was that the first one I tried was bad, not a problem in my code. Argh...

###

