attachInterrupt(0, myFunc, FALLING) // sensor attached to pin 2attachInterrupt(1, myOtherFunc, FALLING) // sensor attached to pin 3
am i right in thinking that, the number outside the brackets is the physical pin numberand the interrupt number (the one in brackets) is the number i use in the attachInterrupt method
+5V | < > 10K < Resistor < > | Analog Pin 5-----| | -------| To weather vane | (mystery resistance) -----------| | | ----- --- -
do you mean didtalWrite? even though its an analog input?
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