pinMode(pin, INPUT);digitalWrite(pin, HIGH); // activate pull up
#define HIGH 0x1#define LOW 0x0#define INPUT 0x0#define OUTPUT 0x1
digitalWrite(pin, LOW); // activate pull downdoes NOT work?? I
the PULL DOWN thing (which does not exist)..can be confusing since you learn a trick to do PULL UP resistors that way
its confusing to see/learn how the internal pull UP resistor trick works.. (and one would think there is the same for a pull DOWN)
and I have never seen 'states' (HIGH/LOW) used in a define before?
I don't see what's confusing; the mechanism is adequately documented.If you were expecting a HIGH to enable pull-ups, and a LOW to enable pull-downs, which third binary state were you going to use for neither?
.. THERE IS NO PULLDOWN INTERNAL RESISTOR.. correct?
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