Interval and variable to function

Well hellou!
How do I pass a variable to function when callling it with interval.
This:

doFlip(1);

to something like this:

myInterval = setInterval(doFlip(1),2000);