Supply input to digital pin (2 in my case)

How can I externally supply input (electric current) to a digital pin? I am using Arduino Uno.

Do you know what an Arduino UNO actually is?

It really doesn’t sound as if you do.

I think you had better try again with another question.

We would like to help , but you will have to supply much more information.

On the surface this looks to be a extremely basic question, but it is hard to tell what you really mean.

Based on what you have posted on this forum so far I would strongly suggest you look at some Arduino tutorials first and at least learn the basics.

How can I externally supply input (electric current) to a digital pin? I am using Arduino Uno.

Doing so can destroy the Arduino.