Set output to high for 10ms before pulling it down. (my Sensors need this)
read pin number from command line for more flexibility