Thus if I used something likeWhile AnalogRead(PIRpin>"ArduinoBackGroundNoise")
To be short: No.If you wired your sensor correctly, you get values that represent the sensors state. If you just get crap, check the wiring or show us your wiring, maybe the forum members will find an error.
Ummm, just connect the pin. It will show crap if left floating.______Rob
Because I ran out of digital I/O on the tiny 85 around which the entire project is designed
byte value = digitalRead(A0);
You just can use A0, A1 and so on for digitalRead():
Do you have other information?
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16