Arduino digital pin out

Hi everyone

I didnt know what to put as the topic name but here is my question

I want to drive one digital pin of arduino uno as output and i want it to go on and off with an interval of Ts, where T is the time

Here is the example

void loop() {

digitalWrite(Pin,HIGH);
delay(t)
digitalWrite(Pin,LOW);
}

this is working perfectly, the pin is going high and low as i want, but what i want to do now is: i want this pin to oscillate at freq 1/t and in the mean while my code can proceed further.

i want this pin to oscillate at freq 1/t and in the mean while my code can proceed further.

That is a statement. It is not a description of a problem.

What is the problem?

The blink without delay example bears investigation.

i want this pin to oscillate at freq 1/t and in the mean while my code can proceed further.

You need to look into using millis() for timing as in the BlinkWithoutDelay example and Several things at the same time
Save the time an event happens, such as changing the state of an output pin, then each time through loop() check whether the required period has elapsed since the event. If not then go round loop() again reading inputs etc. If the period has elapsed then take the required action.