Sample Rate

SadAlphaMiks:
I want to know how to set the sampling rate in Arduino.

What sampling rate?

In the program you posted in your Original Post the frequency of calling analogRead() is determined by the line delay(1000);

...R