thanks for the reply..
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?
I guess Im a bit confused now..
I was under the impression form reading posts HERE.
that you can ONLY use an INTERNAL PULL UP resistor..like so:
digitalWrite(pin, HIGH); // activate pull up
however.. THERE IS NO PULLDOWN INTERNAL RESISTOR.. correct?
digitalWrite(pin, LOW); // activate pull down
first questo clarify.. IS THIS CORRECT? simple yes or no?
everywhere I have read stated internal PULL UP = YES.
internal PULL DOWN = NO..
is this information False then?
let just get clear on that.. if this is NOT true...and you can in fact use INTERNAL PULL DOWN RESISTORS...
then my statement of 'thats confusing' to noobies is irrelevant.
Your question of what 3rd binary state I would use.. I have no clue.. is there even one? 1 or 0..what 3rd state? (confused as to what your even asking really)..
Im not even trying to 'label' any 3rd state.. more about the confirmation of Is there or is there not a INTERNAL PULL DOWN resistor.. (pretty simple & straightforward I think)
second point: (which has NOTHING and shouldnt even be grouped in the same question(s) as above)
I dont know anything about Source headers...or distribution directories (or why they would even be brought up to be honest)
my question was/is...
(which you partially answered already for me)
1.) difference between using a #define statement...vs. const int ledPin 13 for example. (whatever fits your project..no real difference in usage or compiling?)
and then to further that.. I stated I have never seen this before:
#define HIGH 0x1
#define LOW 0x0
#define INPUT 0x0
#define OUTPUT 0x1
never seen HIGH or LOW defined?? nor INPUT or OUTPUT #defined anywhere..
and am asking: what is this for? how/why is it used like this?
just delcaring a 'variable more or less? and those are the values for that var?
hopefully this make my questions a bit more clear.. just trying to get used to, and understand some of the code I see and WHY its used in that fashion..
and to clear up some of the statements I have read regarding the INTERNAL PULL DOWN resistor..