Flushing Arduino

you can always program it with an empty setuop and loop, the "minimal" arduino program:

But as was said, it should never be necessary to "flush" your Arduino. (unless you are developing some sort of robotic sewer rat...)