codemaster11
Advanced Member level 4
i want to find whether a digital pin of arduino let say digital pin#4 is "HIGH or LOW" using a voltage divider resistor.
just as "analogRead()" that the voltage sense divider network & arduino must have common ground, is it also necessary for
digitalRead() that the "HIGH/LOW" detection divider network & arduino must have same common ground?
if to consider that divider network & arduino pro mini have different ground then is it possible for pro mini to detect HIGH/LOW voltage at
4k7 resistor as in picture above.
just as "analogRead()" that the voltage sense divider network & arduino must have common ground, is it also necessary for
digitalRead() that the "HIGH/LOW" detection divider network & arduino must have same common ground?
if to consider that divider network & arduino pro mini have different ground then is it possible for pro mini to detect HIGH/LOW voltage at
4k7 resistor as in picture above.