skimask:
Your “logic” in your code is bassackwards. If you got it to work without the headphones, I fail to see how it worked at all.
Hello SparkFun Forum
"Bassackwards’ does not seem to be too specific.
If it is meant that input Pin should be looking for a LOW signal instead of HIGH
perhaps its thought the PIR ibeing used is the SparkFun PIR which sends a LOW
signal. This is the HC-SR501 PIR which sends a HIGH signal:
http://www.mpja.com/download/31227sc.pdf
Allen Pitts