Yes just wire the inputs together. But the real point is why you think you need to do this in the first place? I can see no point in it.
As to code it is
value =analogRead(pin);
Yes just wire the inputs together. But the real point is why you think you need to do this in the first place? I can see no point in it.
As to code it is
value =analogRead(pin);