Pulses

Wondering if I can program my Arduino to output 2000 pulses and then stop. Help will be greatly appreciated.

Yes it can , a better description of what you are trying to do would help.

Blueboy1957:
Wondering if I can program my Arduino to output 2000 pulses and then stop. Help will be greatly appreciated.

Would this be the one and only task of your program?
Or are there some different things to do?

In case of a single tasking program with nothing else to do I'd try something like this first:
Write a function which creates one single pulse, call that function 2000 times and finish with an infinite loop like this:

while(1);// end program execution with infinite while loop

But: Actually your Arduino will NEVER stop!
It will just execute a do-nothing-while-loop forever and forever and forever- or until power-loss. Whatever happens first: Eternity or power-loss.
:confused: